## Download the processed dataset `client.datasets.download(stringdatasetID, DatasetDownloadParamsquery?, RequestOptionsoptions?): DatasetDownloadResponse` **get** `/api/v1/datasets/{dataset_id}/download` Download the processed dataset ### Parameters - `datasetID: string` - `query: DatasetDownloadParams` - `fileFormat?: "csv" | "json" | "jsonl" | "parquet"` Output file format. Defaults to the original upload format if omitted. - `"csv"` - `"json"` - `"jsonl"` - `"parquet"` ### Returns - `DatasetDownloadResponse = Uploadable` ### Example ```typescript import Adaption from 'adaption'; const client = new Adaption({ apiKey: process.env['ADAPTION_API_KEY'], // This is the default and can be omitted }); const response = await client.datasets.download('dataset_id'); console.log(response); ``` #### Response ```json "Example data" ```