Skip to main content
GET
List available models

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Query Parameters

limit
integer
default:50

Rows per page, 1..100. Defaults to 50.

Required range: 1 <= x <= 100
starting_after
string

Opaque cursor from a previous page's next_cursor. Bound to the filters and page size that produced it. A cursor this endpoint never issued is UZ-LIBRARY-001. A real cursor carrying different filters or a different page size is UZ-LIBRARY-002, rather than a silently different page. Only the sort boundary is read from it — the filters applied are always the request's.

provider
string

Exact match on the normalized provider. At most 128 bytes once normalized; empty after normalization is treated as absent.

Maximum string length: 128

Response

One page of the model library catalogue.

version
string
required

Date of the most recently updated model, formatted as YYYY-MM-DD in UTC.

models
object[]
required

The page's rows. Named models rather than items because renaming a shipped /v1 field is a breaking change. total and next_cursor are added beside it, so the page is navigable without breaking an existing client.

total
integer | null
required

Always null. Counting a keyset page costs the scan this pagination exists to avoid. The key is present rather than omitted, so no client need special-case its absence.

next_cursor
string | null
required

Cursor for the next page, or null on the last.