AI Gateway Admin

POST /ai/providers/discover

Changed on

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

api_keystring password

API key, if the server requires one

base_urlstring nullable

Base URL of the server (required for "openai_compatible")

providerstring required

Provider ID, e.g. "openai_compatible"

trust_private_addressboolean

Discover as if the base URL's exact private address were trusted on the key. Requires settings:write.

Response

Models the provider lists

providerstring required

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status