Export dataset (CSV, Excel, or JSON Lines)
export_datasetExports dataset rows as CSV, Excel, or JSON Lines for download, reporting, or further analysis.
Instructions
export dataset (CSV, Excel, or JSON Lines)
The dataset as CSV text (or JSON Lines with output_format: "jsonl"; xlsx is binary and meant for a browser): input columns, then output columns, one line per row. For a few rows prefer list_dataset_rows (it carries cell states).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The dataset id (ds_...) | |
| output_format | No | `csv` (default), `xlsx`, or `jsonl`. |