Skip to main content
POST
Create a new datapoint

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 datapoint

Body

application/json

Request body for POST /datapoints

inputs
object
history
object[]
ground_truth
object
metadata
object
linked_event
string
linked_datasets
string[]
Minimum string length: 1

Response

200 - application/json

Datapoint successfully created

Response for POST /datapoints

inserted
boolean
required
result
object
required