Every model provider, as the admin sees it
const url = 'http://localhost:8300/v1/studio/admin/providers';const options = { method: 'GET', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8300/v1/studio/admin/providers \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'Admin role only (403 admin role required).
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The providers
object
The deployment’s remote switch (REMOTE_MODELS, off by default)
One model provider as the admin sees it.
object
Server: a local server you run (loopback or private address, or the Docker host: what host.docker.internal resolves to); remote: outside the machine (https; only when the deployment has remote models on); only with remote models on; never a model source)
Openai: OpenAI-compatible /v1/chat/completions (ChatOpenAI(base_url=…))
What users see (Ollama on the Mac); absent = name
The models pipelines may name
One of models (server:<name> without a model)
Server: the GPU host whose memory it shares
Server: declared; the host reserves it while enabled
Remote: the secret file’s name
Remote: calls in flight at once (default 2)
What a provider’s OpenAI layer refuses of what pipelines sends (messages defs providerCompat; from a preset, Anthropic’s). temperature false: none sent; strict_schema true: json_schema with strict true, never retried as json_object; Absent = the usual calls
object
Fixed extra headers sent on every call to the provider (chat, Test, Fetch, the key check); only allow-listed safe names (never authorization, x-api-key, cookie, host): anthropic-version (Anthropic’s preset: 2023-06-01)
object
The preset it was filled from
: a thinking level per model. Each key is one of models, each level one its rule allows (else 422 naming the model; a model no rule covers is 422 too). Absent or {} = nothing sent: the provider’s own default. Studio resolves it into the batch snapshot (messages defs providerThinking)
object
Off + on, or some of off, low, medium, high (our high is the provider’s high, never max)
(read only): what each saved model offers, for the models its preset’s rules cover (absent: no control). The form and the AI agents tab need no copy of the rules
object
What one model offers: its levels (empty when it always thinks), always (thinks and cannot be set), default (what the provider uses when nothing is sent)
object
Off + on, or some of off, low, medium, high (our high is the provider’s high, never max)
(read only): an Only-you provider’s owner, the admin who added it from a personal plugin. Only that account sees or uses it (every list, the AI agents picker, pipeline rules, the assistant); absent = everyone’s
(read only): the plugin it was made from (Add as provider)
Example
{ "providers": [ { "kind": "server", "api": "openai", "base_url": "http://host.docker.internal:11434/v1", "thinking": { "additionalProperty": "off" }, "thinking_levels": { "additionalProperty": { "levels": [ "off" ], "default": "off" } } } ]}Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
object
Example generated
{ "detail": "example"}Valid token without the admin role: “admin role required”
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}