Skip to main content
POST

Authorizations

Authorization
string
header
required

Identify accepts a workspace API key (sk_…). Loom accepts either a short-lived session token (direct) or a workspace API key (relay).

Headers

Patchwork-Subject
string

Relay only. Opaque subject id for the acting user. Direct tokens carry sub instead — do not send this header on a session token.

Patchwork-Connection
string

Connection id or name the agent may call. Required in relay when the agent has unpinned customer tools. Direct tokens may carry conn instead.

Body

application/json
agent
string

Agent public id (agent_…). Defaults to the workspace's published agent.

subject_ref
string

Relay only. Acting user id. Ignored on a direct token.

Response

Thread created.

status
string
required
Allowed value: "success"
data
object
required