API reference 2026-11-11
Every public endpoint in version 2026-11-11: 48 operations, generated from the curated OpenAPI document.
On this page
This reference is static and read-only. It has no Try it feature and sends no requests, so API keys are never entered on this site. Call the API from your own environment; see the quickstart.
LLM API
Chat
OpenAI-compatible chat completions.
Responses
OpenAI-compatible Responses API, with optional stored threads.
MessagesBeta
Anthropic-compatible Messages API. Beta.
Batches
Asynchronous bulk chat completions and their JSONL input files.
- GET
/api/v1/llm/v1/batchesList batches - POST
/api/v1/llm/v1/batchesCreate a batch - GET
/api/v1/llm/v1/batches/{batch_id}Retrieve a batch - POST
/api/v1/llm/v1/batches/{batch_id}/cancelCancel a batch - GET
/api/v1/llm/v1/batches/{batch_id}/resultsGet batch results - POST
/api/v1/llm/v1/filesUpload a batch input file - GET
/api/v1/llm/v1/files/{file_id}/contentDownload file content
Platform API
API keys
Create, list, rotate and revoke bl_live_ API keys.
Usage
Token usage, the activity log and the self-service spend cap.
- GET
/api/v1/usage/meGet your usage - GET
/api/v1/usage/me/logsList your recent requests - GET
/api/v1/usage/me/budgetGet your budget burn - GET
/api/v1/usage/me/budget/capGet your spend cap - PUT
/api/v1/usage/me/budget/capSet your spend cap - DELETE
/api/v1/usage/me/budget/capRemove your spend cap - GET
/api/v1/usage/org/{org_id}Get organization usage - GET
/api/v1/usage/org/{org_id}/logsList organization requests - GET
/api/v1/usage/org/{org_id}/budgetGet organization budget burn
Account
The signed-in user's profile, data export and deletion.
Privacy
Data-subject erasure requests.
Organizations
Organizations, members and invitations.
Settings
Notification preferences and audit logs.
Integrations
Integration status, Slack notifications and the Jira configuration.
- GET
/api/v1/integrations/statusGet integration status - GET
/api/v1/integrations/configGet the Slack configuration summary - POST
/api/v1/integrations/slack/notifySend a Slack message - POST
/api/v1/integrations/slack/findingsSend a findings alert to Slack - GET
/api/v1/integrations/jiraGet the Jira configuration
Versioning
The API is versioned by its URL path (/v1). There is no version request header. Each documentation version is a dated snapshot of the /v1 surface, so you can see exactly what changed between snapshots. next previews changes that are not released or not stable yet.
Changelog
The changes between documentation versions are listed at https://dev.breachline.io/changelog/.
Accessing the API
Send a BreachLine API key (bl_live_…) as X-API-Key: <key> or Authorization: Bearer <key>. Create keys in the console under Settings, API & Developer. Most errors use the envelope { "error": { "status", "message", "code", "detail", "request_id" } }; the Anthropic-compatible endpoints use the Anthropic envelope, and a few edge responses (an oversized body, the per-user rate limits, an empty completion) do not use the envelope. See the Errors guide.
Rate limits
Chat completions and Responses are limited per API key per minute, hour and day, in fixed UTC windows. Embeddings, rerank and the Platform API are limited per user per minute, and Platform API responses carry X-RateLimit-* headers. A limited request gets 429. See the Rate limits guide.