---
title: "Download a zipped file of all results of query"
method: GET
path: "/api/v1/files/{query_id}/zip"
tags: ["Files"]
---

# Download a zipped file of all results of query

`GET /api/v1/files/{query_id}/zip`

Download a zip file

## Path parameters

- `query_id` string, required

## Response `200`

Zip file to download

## Other responses

- `202` — Zip file not ready yet
- `204` — No files to zip and download
- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `406` — Not Acceptable
- `412` — Precondition Failed
- `500` — Internal Server Error

---

[API](https://skmtc.net/particlehealth/apis/particle-health-api.md) · [All operations](https://skmtc.net/particlehealth/apis/particle-health-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/particlehealth/particle-health-api/revisions/5aead0b7515e/schema)
