API
The Braintrust API provides programmatic access to all platform features through a REST interface:API overview
Authentication, resources, and common tasks
API resources
Complete endpoint reference with examples
CLI
CLI quickstart
Install the bt CLI and run your first eval
CLI commands
Complete command reference with flags and environment variables
SQL
SQL reference
Query syntax for filtering and analyzing logs, experiments, and datasets
SQL best practices
Write SQL queries that return correct results and run fast