hosted-providers

Refresh Hosted Models

Changed on

Ask the provider again and offer whatever is newly listed.

Nothing already offered is removed, even when the provider no longer lists it. New models follow the offer rule, seeded with the community default price and off when nothing prices them. A seeded price nobody changed moves with the default. An offered model whose stored price has since been deleted is seeded again, or switched off where the default does not price it, even one an operator switched on: a refresh never switches a model on.

post/api/v1/hosted-providers/{provider}/models/refresh

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Path parameters

providerstring required

Response

Successful Response

addedstring[] required
countinteger required
discovery_unsupportedboolean
errorstring nullable
repricedstring[] required

Changes