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

Switch the chat's Auto mode on or off

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

Sets the chat’s auto and sends a thread event. It applies from the chat’s next input: a running turn reads it when the tab’s results or a card’s answer resume it. Another user’s chat is 404.

thread_id
required
string

An assistant chat’s UUID (another user’s or malformed = 404)

Media typeapplication/json
object
auto
required
boolean

Example generated

{
"auto": true
}

The chat

Media typeapplication/json
object
id
required
string format: uuid
auto
required

The chat’s Auto switch (starts off): safe steps run without asking

boolean
title
required

From the first message; New chat before

string
<= 120 characters
state
required

Working: the agent is thinking; waiting: parked on actions, cards or a run

string
Allowed values: idle working waiting
client_id
required
One of:

One drawer (a browser tab)

string
/^[A-Za-z0-9_-]{8,64}$/
pending
required
One of:

What the parked turn waits on: actions for the tab client_id to run, cards (ids of card entries) to answer

object
turn
required
integer
>= 1
actions
required
Array<object>
<= 30 items
object
id
required

<thread_id>::

string
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}:[1-9][0-9]{0,5}:([0-9]|[1-9][0-9])$/
name
required
string
/^[a-z][A-Za-z0-9]{0,47}$/
args
required
object
auto

(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

boolean
asks

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)

string
>= 1 characters <= 80 characters
cards
required
Array<string>
<= 4 items
caps
required
object
model_calls
required
integer
<= 40
tool_calls
required
integer
<= 100
memory_writes
required
integer
<= 8
auto_takes_hour

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

integer
created_at
required
string format: date-time
updated_at
required

The chat’s last message, turn end or Continue here; a summary landing does not move it. The list is newest first by it

string format: date-time

Example

{
"state": "idle"
}

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