Skip to content
SupportGo to app

Download the processed dataset

GET/api/v1/datasets/{dataset_id}/download

Streams the processed rows in the requested file format. Works on datasets with status ready (full output) and also on datasets with status failed — in the failed case the stream contains only the rows that were successfully processed before the run aborted, which is useful for recovering partial output from interrupted jobs. Returns 422 only when no run has ever started on this dataset.

Path ParametersExpand Collapse
dataset_id: string
Query ParametersExpand Collapse
fileFormat: optional "csv" or "json" or "jsonl" or "parquet"

Output file format. Defaults to the original upload format if omitted.

One of the following:
"csv"
"json"
"jsonl"
"parquet"

Download the processed dataset

curl https://api.adaptionlabs.ai/api/v1/datasets/$DATASET_ID/download \
    -H "Authorization: Bearer $ADAPTION_API_KEY"
"Example data"
Returns Examples
"Example data"