Getting Started
Pagination and export limits
Page through threads with each complete public transcript in one item.
Follow one cursor
The export endpoint returns data and pagination:
{
"data": [],
"pagination": {
"has_more": false,
"next_cursor": null,
"snapshot_at": "2026-11-01T00:00:00Z"
}
}When has_more is true, send next_cursor as the cursor query parameter on the same endpoint. Keep the platform organization, agent_id in the path, filters and include unchanged. Cursors are opaque and signed; changing their content or reusing them for another filter set returns 422 API_CURSOR_INVALID. Page sizes may change between requests. Signing-key rotation invalidates existing cursors.
Complete threads
limit defaults to 20 and accepts 1–20 threads per response. Each item contains the thread's metadata and all its eligible public messages in one messages array. Pagination advances to the next thread; it never splits a thread's transcript across pages.
A thread with 150 public messages returns all 150 in the same item. An empty messages array means the thread has no eligible public messages. Store each item directly, using thread_id to avoid duplicates when retrying a page.
With include=summary, messages is null; the server does not read message bodies.
Ordering and consistency
Threads are ordered by creation time, newest first (created_at DESC), with the internal ID descending when creation times match. Each thread's messages are ordered oldest first, with an internal ID tie breaker, so the transcript reads in chronological order. The next cursor retrieves older threads.
Without query parameters, the first page contains up to 20 newest threads, each with its complete public transcript (include=messages). There is no date or customer-channel filter by default; playground channels remain excluded. Thread order uses creation time, not last activity.
snapshot_at fixes the creation-time upper bound when the first page is requested. Newly created threads and messages after that time are excluded from the rest of that traversal.
This is not a database snapshot across requests: edits, deletions, late commits and replies that finish generating during the export can affect results. For ongoing synchronization, repeat an overlapping range and deduplicate by IDs. The date filters apply to thread creation, not last activity or message creation; older threads with new messages require a range that includes those threads.
Rate limit
Export allows 30 requests per minute per organization, shared across its platform keys. Successful requests expose X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix seconds). On 429, wait for Retry-After seconds and retry the same cursor. A temporary limiter outage returns 503 with Retry-After: 5.