Destinations
Export
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.
Request Body
| 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". |
Response
- 200: Export completed or initiated successfully
- Returns:
ExportDatasliceDestinationResponsewith: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)
- Returns:
- 400: Bad Request (e.g., missing required parameters)
- 500: Internal Server Error
Example Request
Example Response (Synchronous)
Example Response (Background Processing)
POST
Python
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
Available options:
file, chunk, both Available options:
column_store, json_store 