Your assistant chats, newest first, and the assistant's state for you
const url = 'http://localhost:8300/v1/studio/assistant/threads';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/assistant/threads \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'At most 200 chats (updated_at, then id, newest first). status says whether the assistant is on, where its model runs (a remote provider: the drawer shows the notice first), whether web search is on, your caps and what you used today. When the admin has it off, status.enabled is false and the list is still served.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The chats
object
What every user may know: on or off, where the model runs, web search, the caps, whether the model thinks, whether it sees images
object
On and set up: chats work
A provider is saved for you and usable (enabled, with that model; a remote one under the deployment’s switch), on or off
You are an admin (the drawer offers Set up or Turn on; the routes check the role again)
Open the drawer by itself now: you are an admin, the Assistant was never set up (AssistantSettings.updated_at null) and POST /assistant/first-launch was not called for you
The assistant-tools plugins that are on and usable, by name (the Assistant page’s Tools, read-only for anyone)
object
The search provider’s title when web search is on
object
Takes Auto mode may start for one user in an hour (0: Auto never generates); a PUT without it keeps the current one
GPU minutes (the runs’ estimates) Auto mode may start for one user in an hour; a PUT without it keeps the current one
The drawer shows Thinking… N s while a model call runs. False when off or no provider
False (a text-only model, a provider with no preset, off): it uses look_at, and the drawer says so once when you attach
object
The chat’s Auto switch (starts off): safe steps run without asking
From the first message; New chat before
Working: the agent is thinking; waiting: parked on actions, cards or a run
What the parked turn waits on: actions for the tab client_id to run, cards (ids of card entries) to answer
object
object
<thread_id>:
object
(Auto mode): pipelines lets it run by itself: a generation on your machines within the Auto caps runs without its card, a safe save in a dialog (a new item) saves itself; its line starts Auto · and has Undo. Absent = false
Auto is on but this one still asks: the waiting line above its card (Auto stops here: deleting needs you, Auto paused · 8 of 8 takes this hour)
object
With Auto on, the takes Auto mode started for you in the last hour (the chip 4 of 8 takes this hour); absent with Auto off
The chat’s last message, turn end or Continue here; a summary landing does not move it. The list is newest first by it
Example
{ "status": { "limits": { "model_calls_per_day": 2000, "tokens_per_day": 20000000, "look_at_per_hour": 200, "messages_per_minute": 30, "auto_takes_per_hour": 8, "auto_gpu_minutes_per_hour": 30 } }, "threads": [ { "state": "idle" } ]}Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}