Authentication
Seal uses organisation API keys. Pilot access is configured with the team running the workflow, then keys are managed in Settings → API Keys.
Use a key
Aqta keys begin with aqta_.
httpAuthorization: Bearer aqta_your_key
pythonimport os from openai import OpenAI client = OpenAI( base_url="https://api.aqta.ai/v1", api_key=os.environ["AQTA_API_KEY"], )
typescriptimport OpenAI from 'openai'; const client = new OpenAI({ baseURL: 'https://api.aqta.ai/v1', apiKey: process.env.AQTA_API_KEY, });
Key handling
- Store keys in a server-side secret manager or environment variable.
- Do not put keys in browser code, source control, tickets, or screenshots.
- Use separate keys for separate environments where that helps you investigate a workflow safely.
- Revoke a key immediately if you believe it has been exposed.
Rotate a key
- Create a replacement key in Settings → API Keys.
- Update the deployed secret.
- Confirm the workflow is using the replacement.
- Revoke the old key.
Errors
A missing, invalid, or revoked key returns 401. Check the key and its organisation before retrying. A temporary request limit may return 429; use bounded exponential backoff rather than repeatedly sending the same request.