Export dataslice metadata and/or nodes to a configured destination.
This endpoint supports exporting data from a dataslice or data connector to a destination system. For small datasets (fewer than 100 files), the export runs synchronously. For larger datasets, the export is processed in the background and returns a tracker ID for monitoring progress.
| Field | Type | Required | Description |
|---|---|---|---|
dataslice_id | str | No | The ID of the dataslice to export. Required if data_connector_name is not provided. |
data_connector_name | str | No | The name of the data connector to export from. Required if dataslice_id is not provided. |
destination_name | str | No | The name of the configured destination to export to. |
export_tags | List[str] | No | List of specific tags to export. If empty, all tags are exported. |
export_level | ExportLevel | No | Level of export: "file", "chunk", or "both" (default: "both"). |
export_nodes | bool | No | Whether to export node data (default: true). |
export_metadata | bool | No | Whether to export metadata (default: true). |
metadata_format | MetadataStorageFormat | No | Format for metadata storage: "column_store" or "json_store". |
ExportDatasliceDestinationResponse with:
message: Status messagesuccess: Number of successfully exported itemsfailed: Number of failed exportsfailed_items: List of items that failed to exportfailed_tags: List of tags that failed to export (if applicable)tracker_id: Progress tracker ID for background exports (only for large datasets){
"dataslice_id": "550e8400-e29b-41d4-a716-446655440000",
"destination_name": "my-destination",
"export_tags": ["contracts", "invoices"],
"export_level": "both",
"export_nodes": true,
"export_metadata": true,
"metadata_format": "column_store"
}
{
"message": "Export completed successfully",
"success": 45,
"failed": 0,
"failed_items": [],
"failed_tags": null,
"tracker_id": null
}
{
"message": "Export started in background. Use tracker_id to monitor progress.",
"success": 0,
"failed": 0,
"failed_items": [],
"failed_tags": null,
"tracker_id": "export-12345678-90ab-cdef-1234-567890abcdef"
}
file, chunk, both column_store, json_store