The model provider presets the form is filled from
const url = 'http://localhost:8300/v1/studio/admin/provider-presets';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/provider-presets \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'Admin only (403). The embedded file’s presets in its order, with the deployment’s remote switch (the form greys remote presets while it is off). A preset only fills the form: a saved provider never changes on its own.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The presets
object
The deployment’s remote switch (remote presets are greyed while off)
A remote preset names key_secret (its id), a server preset none and no models (Fetch fills them)
object
The provider name it fills
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
One rule of a preset: match a regular expression on the model id; levels each level’s body fragment (messages defs thinkingFragment); or always
object
object
object
object
object
Off + on, or some of off, low, medium, high (our high is the provider’s high, never max)
A plugin’s preset (its providers’ thinking rules); never in this list (the file only)
A regular expression on the model id (RE2 and JavaScript alike) for the models that see images; absent: none does
Example
{ "presets": [ { "kind": "server", "thinking": "models" } ]}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"}