Why it matters
Different parts of the API return errors in slightly different formats. Check the status code first, then read the body for details.Error response formats
Authentication and access errors
Token checks happen at the API gateway, before a request reaches a service. These errors return a plain-text body, not JSON:
See Authentication for the full list of causes.
Workflows and AEO Tracker errors
Workflows and AEO Tracker endpoints return JSON with anerror field:
Content Updates errors
The Content Updates endpoint returns JSON with adetail field:
422, with detail listing each invalid field.
Status codes
Run limits
Each API token can have up to 3 workflow runs queued or running at the same time. Creating another run returns429 with Too many concurrent runs. Wait for a run to finish, or cancel a queued run, then try again.
There’s no daily limit on the number of runs per token.
Troubleshooting
- You get
401on every request. Check that the header isAuthorization: Bearer slat_…and that the token isn’t revoked or expired. - You get
403on a valid token. The endpoint isn’t open to API tokens, or the request refers to a workspace other than the token’s workspace. - You get
429when creating runs. Too many runs are in flight for this token. Poll Get Run Status and create new runs as earlier ones finish. - You get
503. Retry the request after a short wait.
What’s next
- Authentication — create and manage API tokens.
- API Overview — base URL and available APIs.
- Create Workflow Run — trigger a workflow run.