Base URL:Documentation Index
Fetch the complete documentation index at: https://docs.boxcrew.ai/llms.txt
Use this file to discover all available pages before exploring further.
https://api.boxcrew.ai
Interactive docs: https://api.boxcrew.ai/docs
Authentication
All API endpoints require authentication via theAuthorization header.
API key
Create an API key from the dashboard or with the CLI. Keys start withbxk_.
Supabase JWT
If you’re building on top of BoxCrew’s frontend auth, you can also use a Supabase access token directly:Errors
The API returns standard HTTP status codes. Error responses include a JSON body:| Status | Meaning |
|---|---|
400 | Bad request — invalid parameters |
401 | Unauthorized — missing or invalid auth |
402 | Payment required — insufficient credits |
403 | Forbidden — not allowed to access this resource |
404 | Not found |
409 | Conflict — resource already exists |
429 | Rate limited |
500 | Internal server error |
Streaming
ThePOST /agents/{name}/chat endpoint returns an SSE stream. Use curl -N or an SSE client library to consume it:
data: line: