X-Avala-Api-Key header with every request. All requests must be made over HTTPS.
Creating an Account
If you don’t have an account yet, use the signup endpoint. This is the only endpoint that does not require authentication.The signup endpoint is rate-limited to 5 requests per minute per IP address.
Creating API Keys
- Log in to Mission Control.
- Navigate to Settings → Security.
- Click Create API Key.
- Give the key a descriptive name (e.g.,
production-backend,ci-pipeline). - Copy the key immediately.
Using API Keys
Pass your API key in theX-Avala-Api-Key header:
API Key Scopes
When creating an API key, you can restrict it to specific capabilities using scopes. A key with no scopes selected has full organization-level access, so avoid using broad keys for machine automation such as MCP unless you explicitly need it.| Scope | Permission |
|---|---|
datasets.read | List and retrieve datasets and dataset items. |
datasets.write | Create, update, and delete datasets. Upload items. |
projects.read | List and retrieve projects, tasks, and task results. |
exports.create | Create new exports and download completed exports. |
tasks.read | List and retrieve tasks and their results. |
Managing API Keys
You can manage your API keys from Settings → Security in Mission Control:- View active keys — See all keys, their names, scopes, and creation dates.
- Revoke a key — Immediately invalidate a key. Revoked keys cannot be restored.
- Regenerate a key — Create a new key to replace an existing one.
Key Expiration
API keys do not expire by default. If your organization enforces key expiration policies, expired keys return a401 error. Regenerate the key from Mission Control to restore access.
Best Practices
-
Use environment variables — Never hard-code API keys in source code. Load them from environment variables or a secrets manager.
- Rotate keys regularly — Revoke and regenerate keys on a recurring schedule, especially after team changes.
- Use separate keys per environment — Create distinct keys for development, staging, and production so you can revoke one without affecting others.
- Restrict access — Only share keys with the people and services that need them. Audit key usage periodically.
Error Responses
The API returns the following errors for authentication failures: Invalid API Key (401)Next Steps
API Overview
Base URL, rate limits, pagination, and response format.
Error Codes
Full reference for every error code the API can return.