API Keys
All API requests require a Bearer token in theAuthorization header.
Key Types
Generating a Project Key
- Go to Dashboard → Project Settings → API Key
- Click Generate API Key
- Copy the key immediately — it’s only shown once
- The key prefix (e.g.,
bzy_proj_abc1...) is stored for identification
401.
Generating a Team Key
Go to Team Settings → API Keys. Team keys are required for/api/v1/teams/{team-id}/... endpoints. Team keys are currently limited to selected team-scoped configuration surfaces such as integrations, environments/env vars, and automations. Execution, test-run, bug-report, and onboarding APIs remain project-scoped. Project keys cannot call team endpoints, and team keys cannot call project endpoints.
Rate Limiting
All endpoints are rate-limited per API key. Current limits:- 60 requests per minute per key
When the limit is exceeded, the API returns
429 Too Many Requests.
Error Responses
All errors follow a consistent format:Error Codes
Note: A
404 is returned for both non-existent resources and resources the API key doesn’t have access to (to avoid leaking existence).