Every request to the Scaling API must include an API key. Scaling uses Bearer token authentication — you pass your API 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 of each request.
API keys
API keys are scoped to your organization. Any request made with your key acts on behalf of your organization. Key format:Get an API key
- Open the Scaling dashboard and go to Settings → API Access.
- Click Generate API key.
- Copy the key immediately — the full value is only shown once.
Store your API key in a secrets manager or environment variable. Never hardcode it in source code or commit it to version control.
Making authenticated requests
Include your API key as a Bearer token in theAuthorization header:
Authentication errors
If your request is missing a valid API key, the API returns a401 response.
Missing authorization header
Returned when theAuthorization header is absent or does not start with Bearer .
Invalid API key
Returned when the token is present but invalid or expired.requestId field is unique to each request. Include it when contacting support to help diagnose the issue.