Skip to main content
GET
/
ai
/
models
List filtered AIModel entities
curl --request GET \
  --url https://app.ledger.ai/api/ai/models \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

filters
string

Authorization: Bearer <token> header is required for authorization, requests without a valid and active authorization header will be denied access with a 401 Not Authorized HTTP status code.

Query param filters, URL encoded JSON object with fields: ai_provider_id, archived_at, created_at, id, name, slug, updated_at

Example:

/api/ai/models?filters={"ai_provider_id": ..., "name": ..., "slug": ...}

Response

Successful response

The response is of type object.