curl --request PUT \
  --url https://api.honeyhive.ai/datapoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ground_truth": {},
  "history": [
    {}
  ],
  "inputs": {},
  "linked_datasets": [
    "<string>"
  ],
  "linked_evals": [
    "<string>"
  ],
  "metadata": {},
  "saved": true,
  "type": "<string>"
}'

Authorizations

Authorization
string
headerrequired

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

Query Parameters

datapoint_id
string
required

ID of datapoint to update

Body

application/json
ground_truth
object

Expected output JSON object for the datapoint

history
object[]

Update history for the datapoint

inputs
object

Arbitrary JSON object containing the inputs for the datapoint

linked_datasets
string[]

Ids of all datasets that include the datapoint

linked_evals
string[]

Ids of evaluations where the datapoint is included

metadata
object

Any additional metadata for the datapoint

saved
boolean

Whether the datapoint is saved or detected

type
string

evaluation or event - specify the type of usage