Import & Export
The Import & Export API lets you bulk-load data from CSV or JSON files and export workspace data for backup or migration. Imports and exports are processed asynchronously — you submit a job and poll for completion.
Imports
Import jobs process CSV or JSON files uploaded to Ptolemy. Each import job targets a single resource type (e.g. instruments, time series values). Rows are validated and inserted in batches; partial imports are possible if on_error is set to continue.
multipart/form-data upload. The maximum file size is 100 MB. For larger datasets, split into multiple import jobs.Exports
Export jobs produce a downloadable file containing all data of a given resource type from the workspace. Exports run asynchronously and the download URL is provided when the job completes.
File Formats
Both imports and exports support CSV and JSON formats. The structure varies slightly by resource type.
identifier_column to specify which column uniquely identifies each row for upsert behaviour.field_values and extras.