Get thread detail with a page of messages
Returns thread metadata, participants, and the MOST RECENT page of messages — not the whole thread.
limit (1-2000, default 500) sizes the page; before_seq walks
backwards from a known seq to fetch older messages. Paging is by
cursor rather than offset because the stale-message reconcile
reassigns seq, so an offset over this table skips and repeats rows.
The response carries message_total, a COUNT over the whole thread,
and has_older. message_total is NOT messages.length: a total
derived from the page agrees with itself and would report a truncated
thread as complete.
Requires participant membership or admin role.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
1 <= x <= 2000Return messages older than this seq.
x >= 0Response
Thread with messages