Threads
Create a thread
Open a conversation against a published agent. Direct tokens take the subject from sub. Relay may pass subject_ref in the body.
POST
Authorizations
Identify accepts a workspace API key (sk_…). Loom accepts either a short-lived session token (direct) or a workspace API key (relay).
Headers
Relay only. Opaque subject id for the acting user. Direct tokens carry sub instead — do not send this header on a session token.
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