Patchwork-Subject. A call that names no subject is refused.
Created:
Attributes
uuid
required
Unique identifier for the thread.
string
Conversation title. Defaults to
"New conversation" until the first message.string
The subject that owns this thread. From the token
sub (direct) or Patchwork-Subject / subject_ref (relay). Opaque to Patchwork.object
integer
Number of messages on the thread. List only.
object
Most recent message, content truncated to 120 characters. List only.
object
Present when a run is
awaiting_input.object
Set when a write is held at an approval gate. Carries the
tool_call_id you pass to
POST /v1/loom/runs/:run_id/confirm, plus a summary and risk for your approval UI.
See Confirmations.object
Present when a run is
awaiting_outcome.timestamp
When the thread was opened.
timestamp
When the thread last changed.
Endpoints
POST /v1/loom/threads— create a threadGET /v1/loom/threads— list threads, with thepending_*fields