π Data Entities
Add a Data Entity
This endpoint creates a new Data Entity.
POST
/
v1
/
data-entities
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:
PUT
to the signed URL
Step 1: Request URL for the File
Auth Headers
An API key for your org.
A Client ID for your org.
Body
The datasource ID.
The name of the data entity.
An object of metdatadata keys/values. The key is the field key and the value is the field value for this entity.
The type of the source (e.g., βPDFβ, βTextβ).