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

studioRenameSession

PATCH
/v1/studio/sessions/{session_id}
curl --request PATCH \
--url http://localhost:8300/v1/studio/sessions/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "title": "example" }'

A rename makes the title the user’s (title_source user, named_by null): the namer never replaces it.

session_id
required
string

Session UUID (malformed = 404)

Media typeapplication/json
object
title
required

Trimmed; blank = 422

string
>= 1 characters <= 200 characters

Example generated

{
"title": "example"
}

The renamed session

Media typeapplication/json
object
id
required
string format: uuid
title
required
string
>= 1 characters <= 200 characters
title_source

Who wrote the title: default (“Untitled”), prompt (Generate’s slice of the prompt, from_prompt), user (typed or renamed), model (the namer). The namer replaces only default and prompt, once per session

string
Allowed values: default prompt user model
named_by

The model that wrote the title (Qwen3.8, DeepSeek) while title_source is model; null otherwise

string | null
<= 60 characters
created_at
required
string format: date-time
updated_at
required

Last rename or run

string format: date-time

Example

{
"title_source": "default"
}

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"
}

Not found

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"
}