The caller's sessions, newest first (at most 100, not paginated)
GET
/v1/studio/sessions
const url = 'http://localhost:8300/v1/studio/sessions';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/sessions \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'naming says how new sessions get their title, so Create can say so before a prompt leaves the machine.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Sessions
Media typeapplication/json
object
sessions
required
Array<object>
object
id
required
string format: uuid
title
required
string
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
named_by
The model that wrote the title (Qwen3.8, DeepSeek) while title_source is model; null otherwise
string | null
created_at
required
string format: date-time
updated_at
required
Last rename or run
string format: date-time
naming
How an untitled session is named after its first run succeeds (the admin’s setting, redacted)
object
mode
required
string
named_by
required
Local: Qwen3.8; remote: the provider’s title; null when off
string | null
remote
required
The prompt leaves this machine (a provider of kind remote)
boolean
Example
{ "sessions": [ { "title_source": "default" } ], "naming": { "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"}Retryable
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}