Skip to main content
Use the Providers endpoint to list all configured inference providers or to create and update an individual provider spec. A GET returns the full provider collection. A PUT upserts a provider by its identifier. Only admin callers may modify providers. This is useful when you need to rotate backend references, add new models, or onboard a new provider without replacing the entire router configuration.

Endpoint

Authentication

Authenticate with a session cookie or pass Authorization: Bearer <api-key>. The PUT method requires an admin role.

GET Response

array
List of configured providers.

PUT Request Body

string
required
Unique provider identifier.
string
Fallback model when the client omits a model selection.
array
List of model definitions with backend references.

PUT Response

string
Identifier of the upserted provider.
boolean
Whether the provider was updated (true) or created (false).