Errors
BeatAPI reports every failure with one of a fixed set of codes. Branch on code, or on retryable; message is an English sentence for a person that states the cause. BeatAPI never names the supplier behind a model and does not pass on raw upstream response bodies; the one exception is an English input-validation sentence from the model on the text endpoints, relayed so you can fix the input. Keep request_id and contact support with it when a failure is not explained here.
The error object
Every BeatAPI endpoint — image and video tasks, GET /v1/tasks/{task_id}, capabilities, workflows, /v1/systemone (and its alias /v1/decisions), /v1/moderations, /v1/social-data/call and /v1/web/* — answers an error with the same envelope:
POST /v1/chat/completions, POST /v1/responses and POST /v1/messages use this envelope for failures before the model is called and keep their SDK’s own error shape for failures during the call; see Text endpoints. The Gemini-native endpoints (/v1beta/...) and GET /v1/models use a different, simpler shape; see the same section.
The capabilities endpoints (/v1/capabilities/*) add fields to the envelope that other endpoints do not carry: docs, a link to the error-handling reference for agents (https://beatapi.io/skill-refs/errors.md), suggestions, the closest published references when a capability is not found, and next, a ready-made follow-up call.
POST /v1/moderations uses this envelope as well. On that one endpoint the error object also carries OpenAI’s type and param (param is always null), so the OpenAI SDKs raise their usual exceptions; see Moderation API.
Request IDs
Every response carries a request_id: in the error body, in the task object, and in the

