Skip to main content
GET
/
api
/
models
List models
curl --request GET \
  --url http://localhost:8080/api/models
{
  "models": [
    {
      "name": "<string>",
      "provider": "<string>",
      "accessible_by_keys": [
        "<string>"
      ]
    }
  ],
  "total": 123
}

Query Parameters

query
string

Filter models by name (case-insensitive partial match)

provider
string

Filter by specific provider name

keys
string

Comma-separated list of key IDs to filter models accessible by those keys

limit
integer
default:5

Maximum number of results to return (default 5)

Response

Successful response

List models response

models
object[]
total
integer