Braintrust Datasets API

The Datasets API from Braintrust — 6 operation(s) for datasets.

GitHub OpenAPI
Business capability
Artificial Intelligence Management BC-610.60

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

0 of 10 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 1 more answered but could not be checked against a schema. Checked 2026-11-12. how this works · status file

POST /v1/dataset Create a dataset · Create dataset #
Ask an LLM
“How do I create a new dataset to store my evaluation data?”
“What happens if a dataset with the same name already exists in the project?”
Tell an agent
Create dataset {name} in project {project_id}.
Create dataset {name} in project {project_id} with description {description}.
GET /v1/dataset List datasets · List datasets observed #
Ask an LLM
“Which datasets exist in my Braintrust project?”
“Can I list datasets for one project or organization?”
Tell an agent
List datasets in project {project_name}.
Show datasets named {dataset_name}.
GET /v1/dataset/{dataset_id} Get a dataset · Get dataset #
Ask an LLM
“How do I look up a dataset by its ID?”
“What details are returned for one dataset?”
Tell an agent
Get dataset {dataset_id}.
Show the details of dataset {dataset_id}.
PATCH /v1/dataset/{dataset_id} Rename or retag a dataset · Partially update dataset #
Ask an LLM
“Can I rename an existing dataset?”
“How do I add tags to a dataset I already created?”
Tell an agent
Rename dataset {dataset_id} to {name}.
Add tags {tags} to dataset {dataset_id}.
DELETE /v1/dataset/{dataset_id} Delete a dataset · Delete dataset #
Ask an LLM
“How do I delete a dataset I no longer need?”
“Can I remove a dataset by its ID?”
Tell an agent destructive · confirm first
Delete dataset {dataset_id}.
Remove the dataset {dataset_id}.
POST /v1/dataset/{dataset_id}/insert Insert events into a dataset · Insert dataset events #
Ask an LLM
“How do I add new evaluation events to a dataset?”
“Can I insert a batch of events into a dataset?”
Tell an agent
Insert events {events} into dataset {dataset_id}.
Add these new events to dataset {dataset_id}.
POST /v1/dataset/{dataset_id}/fetch Fetch events from a dataset (POST) · Fetch dataset (POST form) #
Ask an LLM
“How do I fetch a dataset's events with a POST request and a cursor?”
“Can I fetch a dataset's events from a past version?”
Tell an agent
Fetch the events in dataset {dataset_id} using the POST form.
Fetch dataset {dataset_id} from version {version} using the POST form.
GET /v1/dataset/{dataset_id}/fetch Fetch events from a dataset (GET) · Fetch dataset (GET form) #
Ask an LLM
“Can I fetch a dataset's events using a GET request with query parameters?”
“Which cursor fields are deprecated when fetching a dataset?”
Tell an agent
Fetch the events in dataset {dataset_id} using the GET form.
Fetch up to {limit} events from dataset {dataset_id} with the GET form.
POST /v1/dataset/{dataset_id}/feedback Log feedback on dataset events · Feedback for dataset events #
Ask an LLM
“How do I record human feedback on events in a dataset?”
“Can I log feedback for several dataset events at once?”
Tell an agent
Log feedback {feedback} for dataset {dataset_id}.
Record this feedback on dataset {dataset_id}.
GET /v1/dataset/{dataset_id}/summarize Summarize a dataset · Summarize dataset #
Ask an LLM
“Can I get a summary of a dataset's events?”
“Is it possible to summarize only the metadata of a dataset?”
Tell an agent
Summarize dataset {dataset_id}.
Summarize dataset {dataset_id} with summarize_data {summarize_data}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/braintrust:braintrust-datasets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

braintrust-datasets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Braintrust Datasets API
  description: 'API specification for the backend data server. The API is hosted globally at

    https://api.braintrust.dev or in your own environment.


    You can access the OpenAPI spec for this API at https://github.com/braintrustdata/braintrust-openapi.'
  license:
    name: Apache 2.0
servers:
- url: https://api.braintrust.dev
security:
- bearerAuth: []
- {}
tags:


# --- truncated at 32 KB (56 KB total) ---
# Full source: https://artifacts.apis.io/braintrust/openapi/braintrust-datasets-api-openapi.yml