---
title: "Download Dataset"
method: GET
path: "/datasets/{dataset_id}/download"
tags: ["Dataset"]
---

# Download Dataset

`GET /datasets/{dataset_id}/download`

Download an advanced dataset. Returns a pre-signed URL for downloading the dataset.

## Path parameters

- `dataset_id` integer, required

## Headers

- `api_token` string, required

## Response `200`

Successful retrieval of the dataset.

- object
  - `download_url` string — A pre-signed URL for downloading the dataset.
  - `captions_url` string — A pre-signed URL for downloading the captions file, only returned for datasets where all captions are automatically generated.

## Other responses

- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not found.
- `409` — Download is only supported for advanced dataset types.
- `500` — Internal server error.

---

[API](https://skmtc.net/bria-ai/apis/tailored-generation-api-reference.md) · [All operations](https://skmtc.net/bria-ai/apis/tailored-generation-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bria-ai/tailored-generation-api-reference/revisions/806c6d31631b/schema)
