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

Authorizations

Authorization
string
headerrequired

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

Body

application/json
datapoints
string[]

List of unique datapoint ids to be included in this dataset

description
string
linked_evals
string[]

List of unique evaluation run ids to be associated with this dataset

metadata
object

Any helpful metadata to track for the dataset

name
string
required
pipeline_type
enum<string>

The type of data included in the dataset - "event" or "session"

Available options:
event,
session
project
string
required

UUID of the project associated with this dataset

saved
boolean
type
enum<string>

What the dataset is to be used for - "evaluation" or "fine-tuning"

Available options:
evaluation,
fine-tuning

Response

200 - application/json
inserted
boolean
result
object