Skip to content
JelinaJelina DocumentationTechnical documentation
Back to website

Historical Data Export

Historical export generates files in the background for retaining raw records or analysis in other tools, without requiring the browser to wait for queries to finish.

  1. Select points and a time range; specify the source device for shared points.
  2. Review the disk-space estimate, then create an export task.
  3. Track queued, running, completed, or failed status in the task list; cancel tasks that are no longer needed.
  4. After completion, obtain a short-lived download ticket and download the CSV or ZIP file.

Tasks are limited by time span, file size, concurrency, and available disk space. Insufficient space causes exports to be rejected or stopped. Actual limits depend on device configuration.

  • Supports acquisition, aggregation, and shared historical values. Do not select the same point from the same device more than once.
  • CSV preserves null markers to distinguish missing data from empty strings.
  • Download tickets expire; obtain a new one after expiration. Do not share tickets publicly.
  • Exports include data still retained within the specified range. History deleted by retention policies cannot be recovered.
Operation API
Capacity estimate GET /ems-data/export/disk-space
Create task / query task list POST /ems-data/export/tasks / GET /ems-data/export/tasks
Query / cancel a task GET /ems-data/export/tasks/:taskId / DELETE /ems-data/export/tasks/:taskId
Obtain download ticket POST /ems-data/export/tasks/:taskId/download-ticket

Creating a task requires format (CSV or CSV_ZIP), dataKeys, startTime, and endTime. Downloads are available only after task success. Acceptance does not mean the file has been generated.

Use Historical queries for ad hoc analysis, Periodic archiving for ongoing retention, and Backup and restore for configuration migration. For Agent invocation, see the export Skill.