export_all_conversations
Export conversations for a specific agent as JSON or CSV, using cursor pagination or selected conversation IDs.
Instructions
Export conversations for an agent (Postgres mirror). Requires a paid workspace (hasEverPaid === true); billed against monthly export quota. Supports cursor pagination via cursor/nextCursor/hasMore, or selected mode via convoIds. Formats: json|csv.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order (API-defined) | |
| toTs | No | Unix timestamp upper bound (inclusive) | |
| limit | No | Max conversations in this export page | |
| cursor | No | Opaque cursor from previous export nextCursor | |
| format | No | Export format (default: json) | |
| fromTs | No | Unix timestamp lower bound (inclusive) | |
| agentId | Yes | The agent ID | |
| convoIds | No | If set, export only these conversation IDs |