Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Set how untitled sessions are named

PUT
/v1/studio/admin/session-names
curl --request PUT \
--url http://localhost:8300/v1/studio/admin/session-names \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "mode": "off", "provider": "example", "model": "example" }'

Admin only (403). Applies to sessions named from then on. 422 <provider> is not an enabled provider, <model> is not a model of <provider>, provider and model are only for remote, remote needs a provider, Qwen3.8 27B is not downloaded (local with no live host that can run llm-ask); 409 remote models are off on this deployment for a provider of kind remote while the deployment’s switch is off (a server, “on this network”, needs no switch).

Media typeapplication/json
object
mode
required
string
Allowed values: off local remote
provider

Remote only, required there

string
/^[a-z][a-z0-9-]{0,31}$/
model

Remote only; absent = the provider’s default_model

string
<= 128 characters

The setting

Media typeapplication/json

How an untitled session is named. Default off

object
mode
required

Off; local: the llm pack (Qwen3.8 27B) on the local GPU queue, nothing leaves the machine; remote: a provider of Hub › Providers, kind remote (sends the prompt out) or server (on this network)

string
Allowed values: off local remote
provider
required

Remote: the provider’s name; null otherwise

string | null
model
required

Remote: one of its models; null otherwise

string | null
local_available
required

A live host can run llm-ask now (else Local is greyed: “Qwen3.8 27B not downloaded”)

boolean
remote_enabled
required

The deployment’s remote switch

boolean
updated_at
required

Null until first set

string | null format: date-time

Example

{
"mode": "off"
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Valid token without the admin role: “admin role required”

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

The resource’s state forbids this

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Invalid input

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}