Skip to main content
POST
Create multiple datapoints in batch

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 datapoints

Body

application/json

Request body for POST /datapoints/batch

events
string[]
deprecated
Minimum string length: 1
mapping
object
deprecated
filters
object
dateRange
object
checkState
object
selectAll
boolean
dataset_id
string
Minimum string length: 1

Response

200 - application/json

Datapoints successfully created in batch

Response for POST /datapoints/batch

inserted
boolean
required
insertedIds
string[]
required
Minimum string length: 1