POST
/
v1
/insert
Cross-object insert
Insert events and feedback across object types
Authorization
Authorization
RequiredBearer <token>
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.
In: header
Request Body
application/json
OptionalA mapping from event object type -> object id -> events to insert
experiment
object | null
A mapping from experiment id to a set of log events and feedback items to insert
dataset
object | null
A mapping from dataset id to a set of log events and feedback items to insert
project_logs
object | null
A mapping from project id to a set of log events and feedback items to insert
Returns the inserted row ids for the events on each individual object