Skip to main content
POST
Add datapoints to a dataset

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
string
required

The unique identifier of the dataset to add datapoints to like 663876ec4611c47f4970f0c3

Body

application/json

Request body for POST /datasets/{dataset_id}/datapoints

data
object[]
required

Array of datapoint data objects to add

Minimum array length: 1
mapping
object
required

Field mapping for inputs, ground truth, and history

Response

200 - application/json

Successful addition

Response for POST /datasets/{dataset_id}/datapoints

inserted
boolean
required
datapoint_ids
string[]
required
Minimum string length: 1