Skip to main content
Each chat endpoint returns errors in the same shape as the API standard it is compatible with (OpenAI, Anthropic, or Gemini). Every error response also includes an X-Request-Id header, and returns only the information you need to debug your request.

OpenAI — /v1/chat/completions (and image/video endpoints)

Anthropic — /v1/messages

Gemini — /v1beta/models/{model}:generateContent

Status mapping

The error type / status is derived from the HTTP status:

Minor-sensitive media prompts

Image and video requests are rejected with HTTP 400 and code content_policy when a prompt clearly combines a minor with exposure or emphasis of sensitive body areas, or with explicit sexual or nudity content. This check happens before task creation and credit reservation, so no credits are charged.
Ordinary child-safe scenes such as family, classroom, sports, and art prompts are not blocked by this targeted preflight rule. Requests that pass preflight remain subject to each model’s general safety policy.