Braintrust Logs API

The Logs API from Braintrust — 3 operation(s) for logs.

GitHub OpenAPI
Business capability
Observability Management BC-4220.20

Operations 4

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

POST /v1/project_logs/{project_id}/insert Insert events into a project's logs · Insert project logs events #
Ask an LLM
“How do I log events into a Braintrust project?”
“Can I insert several events into a project's logs at once?”
Tell an agent
Insert events {events} into project {project_id}.
Add these new trace events to the logs of project {project_id}.
POST /v1/project_logs/{project_id}/fetch Fetch project logs via POST · Fetch project logs (POST form) #
Ask an LLM
“How do I fetch a project's logs with a cursor in the request body?”
“Can I page through project logs with a cursor sent POST?”
Tell an agent
Fetch project {project_id}'s logs using the POST form.
Fetch project {project_id}'s logs from cursor {cursor}.
GET /v1/project_logs/{project_id}/fetch Fetch project logs via GET · Fetch project logs (GET form) #
Ask an LLM
“Can I fetch a project's logs using query parameters in the URL?”
“Is there a GET form of the project logs fetch that takes a cursor?”
Tell an agent
Fetch project {project_id}'s logs using the GET form.
Get up to {limit} events from project {project_id} via GET.
POST /v1/project_logs/{project_id}/feedback Log feedback on project logs events · Feedback for project logs events #
Ask an LLM
“How do I record feedback on events logged in a project?”
“Can I submit feedback for several project logs events at once?”
Tell an agent
Log feedback {feedback} for project {project_id}.
Record this feedback on the events in project {project_id}.

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-logs-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-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Braintrust Logs 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 (46 KB total) ---
# Full source: https://artifacts.apis.io/braintrust/openapi/braintrust-logs-api-openapi.yml