Skip to main content

Error Responses

Standard HTTP status codes. Error bodies carry a detail string:

{ "detail": "Custodian not found" }
StatusMeaningCheck
400Malformed requestRequest shape
401Key missing / invalid / inactiveX-API-Key header and key status
403Key expiredRenewal date in the Dashboard
404Agent / app / squad not foundapp_id / team_app_id, and that it's yours
422Body failed validationCompare with Chat
429Token or request limit hitUsage in the Dashboard
5xxPlatform or upstream failureRetry with backoff

The SDKs retry 5xx and network errors automatically (two retries by default). For raw HTTP, retry idempotent failures with a short backoff.

See also​

Chat · Troubleshooting