Documentation menu and search

API reference

Error reference

Read the HTTP status together with error.code.

Main error groups

Error responses contain message, code and type in an error object. Do not build automation around raw internal error bodies.

Main error groups
Field / statusDescription
400 invalid_messages / invalid_inputCorrect the request structure
400 invalid_output_limitSet output within 1–8192
401 invalid_tokenCheck key, expiry and user status
402 insufficient_balanceCheck available workspace funds
402 usage_reconciliation_requiredHave the previous request's usage reviewed
403 workspace_access_revokedRecheck membership and permissions
404 model_not_foundUse siber-v3
413Reduce the JSON body size
415 invalid_content_typeSend application/json
429Wait for rate or concurrency capacity
502 / 503 / 504Check service and connection status

Safe error reports

Record the status, error.code, request ID and time. Do not send the Authorization header or complete message body to error tracking.

Deciding whether to retry

Repeating the same body does not fix an invalid request or key. Check usage first if a call was interrupted after it started. This API does not guarantee automatic, fully idempotent generation retries.

Telegram support@cyberdef_tr