Tool
realtime_archive_export
Start an async NDJSON export of a channel's archived history to the product bucket.
Start an async NDJSON export of a channel's archived history to the product bucket. Returns an export id; poll realtime_archive_export_status until done.
Behavior
- HTTP
POST /realtime/archive/exports
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| to_ts | integer | — | Only entries with ts <= to_ts (epoch ms) |
| channel | string | • | Channel whose archive to export |
| from_ts | integer | — | Only entries with ts >= from_ts (epoch ms) |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| status | string | • | |
| export_id | string | • |
Try it
Start an async NDJSON export of a channel's archived history to the product bucket.