---
title: "Download multiple files"
method: POST
path: "/download_files"
tags: ["File Handling"]
---

# Download multiple files

`POST /download_files`

## Request body

- object
  - `file_names` string[] — An array of file names to download.
  - `run_id` string — The ID of the flow run associated with the files.
  - `user_id` string — The user ID associated with the files. Required if project_id is not provided.
  - `project_id` string — The project ID associated with the files. Required if user_id is not provided.
  - `saved_item_id` string — Optional. The saved item ID associated with the files.

## Response `200`

Files downloaded successfully as a zip

## Other responses

- `400` — Bad request (missing file_names or other required data)
- `401` — Unauthorized (missing or invalid API key)
- `403` — Forbidden (API key does not match)
- `500` — Internal server error (file download failed)

---

[API](https://skmtc.dev/gumloop/apis/public-api.md) · [All operations](https://skmtc.dev/gumloop/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gumloop/public-api/revisions/115f2d6ce387/schema)
