Menu
Bearer API keys and scope enforcement·View as Markdown
Auth
All /api/v1 routes require a Bearer API key.
Authorization: Bearer fr_live_...
Rules
- Missing or invalid secret →
401 - Key workspace ≠ path
workspaceId→403Workspace mismatch - Missing required scope →
403Insufficient scope - Bucket not in key's
bucketIds(when non-empty) →403Bucket not allowed - Creator not on intelligence dogfood allowlist →
404Not found
Creating keys
Settings → API keys. Presets and custom scopes: API keys.
MCP
The MCP server at /api/mcp uses the same Bearer keys and scope checks. See MCP auth.