AI Gateway Model Catalog

The runtime model catalog's settings and the outcome of its last refresh.

Changed on
get/ai/model-catalog

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Response

Catalog status

applied_price_countinteger required

Catalog prices currently applied over the bundled table.

bundled_model_countinteger required

Models the bundled price table lists.

entry_countinteger required

Models stored by the last successful refresh.

last_attempt_atstring date-time nullable

When a refresh last started.

last_discovery_atstring date-time nullable

When provider keys' models were last rediscovered in the background.

last_errorstring nullable

Why the last attempt failed; null after a success.

last_refreshed_atstring date-time nullable

When a refresh last succeeded.

last_source_urlstring nullable

The URL the stored catalog came from.

next_refresh_atstring date-time nullable

When the next background refresh is due; null when automatic refresh is off.

refreshingboolean required

A refresh is running right now.

skipped_countinteger required

Entries the last successful refresh rejected as invalid.

Changes