Skip to main content
A thread is created against a published agent, then you post messages to it. Direct tokens only see their own threads. Relay without a subject sees the workspace. Created:
Listed (summary):
The first user message becomes the title (truncated). List is capped at 30, newest first.

Attributes

uuid
required
Unique identifier for the thread.
string
Conversation title. Defaults to "New conversation" until the first message.
string
Acting user. From the token sub (direct) or Patchwork-Subject / subject_ref (relay).
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
Present when a run is awaiting_outcome.
timestamp
When the thread was opened.
timestamp
When the thread last changed.

Endpoints