Claude · Schema

ModelList

Paginated list of available models.

Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language Processing

Properties

Name Type Description
data array
has_more boolean Whether there are more results available.
first_id string ID of the first item. Use as before_id for the previous page.
last_id string ID of the last item. Use as after_id for the next page.
View JSON Schema on GitHub

JSON Schema

claude-modellist-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ModelList",
  "title": "ModelList",
  "type": "object",
  "description": "Paginated list of available models.",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ModelInfo"
      },
      "example": []
    },
    "has_more": {
      "type": "boolean",
      "description": "Whether there are more results available.",
      "example": true
    },
    "first_id": {
      "type": "string",
      "description": "ID of the first item. Use as before_id for the previous page.",
      "nullable": true,
      "example": "500123"
    },
    "last_id": {
      "type": "string",
      "description": "ID of the last item. Use as after_id for the next page.",
      "nullable": true,
      "example": "500123"
    }
  }
}