Skip to main content
GET
/
api
/
llm
/
models
List Models
curl --request GET \
  --url https://api.example.com/api/llm/models \
  --header 'X-Session-API-Key: <api-key>'
{
  "models": [
    "<string>"
  ]
}

Authorizations

X-Session-API-Key
string
header
required

Query Parameters

provider
string | null

Filter models by provider (e.g., 'openai', 'anthropic')

Response

Successful Response

Response containing the list of available LLM models.

models
string[]
required