Claude · Schema

Error

An error response from the API.

Artificial IntelligenceChatbotsConversational AIGenerative AILarge Language ModelsMachine-LearningNatural Language Processing

Properties

Name Type Description
type string
error object
View JSON Schema on GitHub

JSON Schema

claude-messages-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Error",
  "type": "object",
  "description": "An error response from the API.",
  "properties": {
    "type": {
      "type": "string"
    },
    "error": {
      "type": "object"
    }
  }
}