API keys
API access is opening gradually. It is not open to every workspace yet; if you want to join, contact us. This page describes the keys screen for workspaces that have API access.
Create a key
Open API keys under the workspace settings. Only owners and admins can manage keys, and only a plan that includes API access shows the form; otherwise the page says: API keys come with the Business plan. See pricing for the plans.
- Under New key give the key a Label.
- Tick the Scopes the key may use. A scope marked Can spend credits lets the key start work that costs credits, so give it only to a tool you trust.
- Press Create key.
The key is shown once: copy it now, because it cannot be recovered. Store it in a secret manager, not in code. If you lose it, revoke it and make a new one.
What a key is
- A key belongs to one workspace and has the scopes you ticked.
- A key acts for the person who created it, with that person's role in the workspace at the time of each call.
- The list shows each key with its label, the start of the key and its scopes.
- Revoke stops a key at once: requests that use it stop working immediately.
- Through the API itself a key can also be given an expiry date and be rotated. The keys screen does not have buttons for these yet.
Calling the API
The API documentation lists every endpoint a key can call. When you create work, send an Idempotency-Key header so that a retry never starts the job twice, then poll the job until it finishes. Requests are limited per key; when you send too many you get a 429 answer with a wait time.
An integration for AI assistants (MCP) is not available yet.