curl --request PUT \
  --url https://api.honeyhive.ai/datasets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dataset_id": "663876ec4611c47f4970f0c3",
  "name": "new-dataset-name",
  "description": "An updated dataset description",
  "datapoints": [
    "66369748b5773befbdc661e"
  ],
  "linked_evals": [
    "66369748b5773befbdasdk1"
  ],
  "metadata": {
    "updated": true,
    "source": "prod"
  }
}'

Authorizations

Authorization
string
headerrequired

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

Body

application/json
dataset_id
string
required

The unique identifier of the dataset being updated

name
string

Updated name for the dataset

description
string

Updated description for the dataset

datapoints
string[]

Updated list of datapoint ids for the dataset - note the full list is needed

linked_evals
string[]

Updated list of unique evaluation run ids to be associated with this dataset

metadata
object

Updated metadata to track for the dataset