Search Models

View as Markdown

Paginated, filterable, fuzzy-searchable model listing — server-side equivalent of the dashboard’s former client-side table handling.

Note: there is intentionally no upstream-provider filter — the routing provider (e.g. openrouter) is never exposed on the public API.

Authentication

AuthorizationBearer

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

Query parameters

qstring or nullOptional
Fuzzy search over name, id, and brand
freeboolean or nullOptional

Plan filter: true = free only, false = paid only, omit = all

discountedboolean or nullOptional

true = discounted only, false = regular only, omit = all

input_modalitylist of strings or nullOptional
Match models accepting any of these input modalities
output_modalitylist of strings or nullOptional

Match any output modality (incl. ‘embedding’/‘realtime’ capabilities)

brandlist of strings or nullOptional

Filter by brand (vendor)

sortenumOptionalDefaults to brand
Allowed values:
orderenumOptionalDefaults to asc
Allowed values:
limitintegerOptional1-100Defaults to 20
offsetintegerOptional>=0Defaults to 0

Response

Successful Response
itemslist of objects
totalinteger
limitinteger
offsetinteger
brandslist of strings

Errors

422
Unprocessable Entity Error