Anthropic integration

List models (Anthropic format)

GET/anthropic/v1/models

Lists available models in Anthropic format.

Query Parameters

limit?integer

Maximum number of models to return

before_id?string

Return models before this ID

after_id?string

Return models after this ID

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:8080/anthropic/v1/models"
{
  "data": [
    {
      "id": "string",
      "type": "model",
      "display_name": "string",
      "created_at": "2019-08-24T14:15:22Z"
    }
  ],
  "has_more": true,
  "first_id": "string",
  "last_id": "string"
}
{
  "type": "error",
  "error": {
    "type": "string",
    "message": "string"
  }
}
{
  "type": "error",
  "error": {
    "type": "string",
    "message": "string"
  }
}