Skip to main content
POST
/
v1
/
datapoints
Create a new datapoint
curl --request POST \
  --url https://api.honeyhive.ai/v1/datapoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": {},
  "history": [],
  "ground_truth": {},
  "metadata": {},
  "linked_event": "<string>",
  "linked_datasets": []
}
'
{
  "inserted": true,
  "result": {
    "insertedIds": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
inputs
object
history
object[]
ground_truth
object
metadata
object
linked_event
string
linked_datasets
string[]
Minimum string length: 1

Response

200 - application/json

Datapoint successfully created

inserted
boolean
required
result
object
required