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

Authorizations

Authorization
string
headerrequired

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

Body

application/json
ground_truth
object

Expected output JSON object for the datapoint

inputs
object
required

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

linked_event
string

Event id for the event from which the datapoint was created

metadata
object

Any additional metadata for the datapoint

project
string
required

UUID for the project to which the datapoint belongs

saved
boolean

Whether the datapoint is saved or detected

type
enum<string>
required

Type of datapoint - "evaluation" or "fine-tuning"

Available options:
evaluation,
fine-tuning

Response

200 - application/json
result
object