export_all_conversations
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agentId": "<agentId>"
},
"name": "export_all_conversations"
}
}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 |