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

A new, empty session

POST
/v1/studio/sessions
curl --request POST \
--url http://localhost:8300/v1/studio/sessions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "title": "example", "from_prompt": true }'
Media typeapplication/json
object
title

Trimmed; empty or missing = “Untitled”

string
<= 200 characters
from_prompt

The title is a slice of the prompt Generate is about to send (title_source prompt, so the namer may replace it); default false (user)

boolean

Example generated

{
"title": "example",
"from_prompt": true
}

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

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