๐ Data Entities
Add a Data Entity
This endpoint creates a new Data Entity.
POST
Two-step process
This endpoint is a two-step process. First, you create the data entityโs URL, and then you upload the file to the signed URL.- Step 1:
POST https://api.getmetal.io/v1/data-entities - Step 2:
PUTto the signed URL
Step 1: Request URL for the File
Auth Headers
string
required
An API key for your org.
string
required
A Client ID for your org.
Body
ObjectID
required
The datasource ID.
string
required
The name of the data entity.
object
An object of metdatadata keys/values. The key is the field key and the value
is the field value for this entity.
string
required
The type of the source (e.g., โPDFโ, โTextโ).
Response
Data Entity Object