The Scaling API uses API keys to authenticate requests. Every request must include a valid key in theDocumentation Index
Fetch the complete documentation index at: https://docs.scaling.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header. Requests without a key, or with an invalid key, return a 401 error.
API key format
Scaling API keys have this format:Obtaining an API key
Including the key in requests
Pass your API key as a Bearer token in theAuthorization header:
Authentication errors
If a request fails authentication, the API returns401 Unauthorized with one of the following error codes:
Missing Authorization header:
Security best practices
- Never commit keys to source control. Use environment variables or a secrets manager (such as AWS Secrets Manager or HashiCorp Vault) to inject keys at runtime.
- Rotate keys regularly. Rotate any key that may have been exposed. Deleting a key immediately revokes all access for that key.
- Use one key per integration. Create a separate key for each service or pipeline that needs API access. This limits the blast radius if a key is compromised and makes it easy to revoke access for a single integration without affecting others.
- Restrict access at the org level. Only share API keys with team members who need them. Remove access for keys tied to decommissioned integrations.