hosted-providers

List Available Models

Changed on

Ask the provider what it serves on its credential.

Dials the upstream on every call rather than caching: the caller is the admin form's model picker, opened rarely and entitled to a current answer. Failure comes back in the body, so the picker can fall back to a text box.

get/api/v1/hosted-providers/{provider}/available-models

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

discovery_unsupportedboolean
errorstring nullable
modelsstring[]
providerstring required

Changes