Skip to main content
GET
List messages

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, chosen by you and never resolved by Patchwork. Partitions threads and memory within your workspace. Direct tokens carry sub instead — do not send this header on a session token. Required on every subject-scoped resource: threads, messages, runs, outcomes, confirmations and realtime. Omitting it is subject_required, never a wider result. The value is used exactly as given — never trimmed or normalised — so a stray space creates a second partition and is refused as invalid_subject.

Path Parameters

thread_id
string<uuid>
required

Query Parameters

cursor
string

Opaque pagination cursor. Pass back the next_cursor from the previous page verbatim; do not construct one.

limit
integer
default:25

Page size. Clamped to 100.

Required range: 1 <= x <= 100

Response

Messages.

status
string
required
Allowed value: "success"
data
object[]
required
pagination
object