Skip to main content
POST
Create a dataset

Authorizations

Authorization
string
header
required

A fine-grained data plane API key (values begin with hh_fgdp_). Rooted at an organization, workspace, or project, it carries the permissions chosen when it was created, and only the operations whose paths begin with /v1/projects/{project_id}/ accept it. Create one in the HoneyHive app under the project's, workspace's, or organization's Settings → API Keys, on the Data Plane tab.

Path Parameters

project_id
string
required

The unique identifier of the project that owns the dataset

Body

application/json

Request body for POST /datasets

name
string
default:Untitled Dataset

Name of the dataset

Maximum string length: 200
description
string

Description of the dataset

datapoints
string[]

Initial datapoint IDs to include

Minimum string length: 1

Response

200 - application/json

Successful creation

Response for POST /datasets

inserted
boolean
required
result
object
required