POST
/
v5
/
dataset-items
/
batch
curl --request POST \
  --url https://api.egp.scale.com/v5/dataset-items/batch \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "dataset_id": "<string>",
  "data": [
    {}
  ]
}'
{
  "object": "list",
  "items": [
    {
      "id": "<string>",
      "object": "dataset.item",
      "dataset_id": "<string>",
      "data": "<any>",
      "content_hash": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "created_by_user_id": "<string>",
      "archived_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json
dataset_id
string
required

Identifier of the target dataset

data
object[]
required

Items to be added to the dataset

Response

200
application/json
Successful Response
items
object[]
required
object
enum<string>
default:list
Available options:
list