AI Gateway Model Catalog

Change where the catalog comes from and how it is refreshed.

Changed on
patch/ai/model-catalog/settings

Request

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

Request body

auto_refreshboolean nullable
discover_provider_modelsboolean nullable
refresh_interval_hoursinteger nullable
source_urlstring nullable

A custom https:// catalog URL, or an empty string to go back to the catalog published in the Temps repository.

Response

Settings saved

auto_refreshboolean required

Refresh the catalog in the background.

default_source_urlstring required

The catalog published in the Temps repository.

discover_provider_modelsboolean required

Rediscover every active provider key's models on the same interval.

effective_source_urlstring required

The URL refreshes fetch.

refresh_interval_hoursinteger required

Hours between background refreshes (1 to 168).

source_urlstring nullable

Custom catalog URL; null uses default_source_url.

Changes