Skip to main content
POST
Insert dataset events

Authorizations

Authorization
string
header
required

Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [api_key] to your HTTP request. You can create an API key in the Braintrust organization settings page.

Path Parameters

dataset_id
string<uuid>
required

Dataset id

Body

application/json

An array of dataset events to insert

events
object[]
required

A list of dataset events to insert

Response

Returns the inserted row ids

row_ids
string[]
required

The ids of all rows that were inserted, aligning one-to-one with the rows provided as input