AI product

BTQL

BTQL is Braintrust's SQL-like query language and API for querying agent traces, logs, experiments, and datasets. It supports real-time queries over incoming trace data and long-running analysis of large, deeply nested semi-structured JSON payloads. The documentation describes standard SQL syntax alongside a legacy pipe-delimited BTQL syntax, with filtering, grouping, aggregation, full-text matching, sorting, pagination, and limits; unsupported SQL features can be expressed using BTQL's native syntax. Queries can run in Braintrust's SQL sandbox, the `bt sql` CLI, or the `/btql` API endpoint.

Visit site Mentioned in 1 video ↓

What BTQL is used for

1 use taken from transcripts — each links to the moment in the video.

  • Braintrust's SQL-like abstraction layer for querying agent traces. It supports both real-time queries on incoming trace data and long-running analytical queries over huge, deeply nested semi-structured JSON payloads.

Videos mentioning BTQL

1 in the library.