curl --request POST \
  --url https://api.honeyhive.ai/datasets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project": "65e0fc2d6a2eb95f55a92cbc",
  "name": "test-dataset",
  "description": "A test dataset",
  "type": "evaluation",
  "datapoints": [
    "66369748b5773befbdc661e2"
  ],
  "linked_evals": [],
  "saved": false,
  "pipeline_type": "event",
  "metadata": {
    "source": "dev"
  }
}'
{
  "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
project
string
required

UUID of the project associated with this dataset like 65e0fc2d6a2eb95f55a92cbc

name
string
required

Name of the dataset

description
string

A description for the dataset

type
enum<string>

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

Available options:
evaluation,
fine-tuning
datapoints
string[]

List of unique datapoint ids to be included in this dataset

linked_evals
string[]

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

saved
boolean
pipeline_type
enum<string>

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

Available options:
event,
session
metadata
object

Any helpful metadata to track for the dataset

Response

200 - application/json
inserted
boolean
result
object