POST
/
datasets
/
{dataset_id}
/
datapoints
curl --request POST \
  --url https://api.honeyhive.ai/datasets/{dataset_id}/datapoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json'
{
  "inserted": true,
  "datapoint_ids": [
    "<string>"
  ]
}

Authorizations

Authorization
string
headerrequired

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
project
string

Name of the project associated with this dataset like New Project

data
object[]

List of JSON objects to be added as datapoints

mapping
object

Mapping of keys in the data object to be used as inputs, ground truth, and history, everything else goes into metadata

Response

200 - application/json
inserted
boolean
datapoint_ids
string[]

List of unique datapoint ids added to the dataset