Errors

Errors share one shape: {"error": {"type", "code", "message", "param"}}. A decided request is never an error, whatever its verdict.

StatusCodesMeaning
400invalid_jsonThe body is not a JSON object.
401missing_api_key, invalid_api_keyNo key, or a revoked or expired one.
413body_too_largeThe body exceeds the limit.
415unsupported_media_typeSend Content-Type: application/json.
422schema_violation, unknown_decisionThe request does not match its decision's schema; param names the field.
429rate_limited, daily_decision_quota, daily_question_quotaWait for Retry-After.
503service_unavailable, overloadedRetry shortly.