AI Gateway Model Catalog

Fetch the catalog now, store it and apply its prices. On failure the previous catalog stays in use and the reason is recorded in the status.

Changed on
post/ai/model-catalog/refresh

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 refreshed

applied_pricesinteger required

Prices applied over the bundled table.

skippedinteger required

Entries rejected as invalid.

storedinteger required

Models stored.

Changes