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 errortype / status is derived from the HTTP status:
Minor-sensitive media prompts
Image and video requests are rejected with HTTP400 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.