Skip to main content

Schema

{
  "type": "object",
  "required": [
    "code",
    "message"
  ],
  "properties": {
    "code": {
      "type": "string",
      "enum": [
        "validation_error",
        "auth_required",
        "forbidden",
        "not_found",
        "rate_limited",
        "upstream_unavailable",
        "upstream_timeout",
        "schema_invalid",
        "policy_violation",
        "degraded",
        "unknown"
      ]
    },
    "message": {
      "type": "string"
    },
    "details": {
      "type": "object",
      "additionalProperties": true
    },
    "traceId": {
      "type": "string"
    },
    "remediation": {
      "type": "string"
    }
  }
}