Export Dataset
dataset.exportExport a completed dataset as text in jsonl, csv, json, md, xml, or rag format for LLM fine-tuning, spreadsheet analysis, or structured interchange.
Instructions
Download all records from a built dataset as text (Step 5 — final step).
Returns the complete dataset content as a UTF-8 string directly in the response — no file download or separate URL needed. Call get_job_status after build_dataset and wait for status='completed' before calling this tool. Use the dataset_id from that completed response.
Format guide: jsonl = LLM fine-tuning, rag = LangChain/LlamaIndex chunks, csv = spreadsheets, md = human-readable, xml = structured interchange. Binary formats (parquet, hf) cannot be returned via MCP — export them from the FlexOrch dashboard directly.
Args: dataset_id: Dataset ID from the get_job_status completed build response. format: Text export format — jsonl, csv, json, md, xml, rag. Default: jsonl.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | jsonl | |
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| format | No | ||
| content | No | ||
| isError | No | ||
| filename | No | ||
| byte_count | No | ||
| dataset_id | No |