Skip to main content
POST
/
v1
/
datasets
Create a dataset
curl --request POST \
  --url https://api.honeyhive.ai/v1/datasets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Untitled Dataset",
  "description": "<string>",
  "datapoints": []
}
'
{
  "inserted": true,
  "result": {
    "insertedId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
default:Untitled Dataset
Maximum string length: 200
description
string
datapoints
string[]
Minimum string length: 1

Response

200 - application/json

Successful creation

inserted
boolean
required
result
object
required