---
title: "Download records"
method: GET
path: "/v2/key-value-stores/{storeId}/records"
tags: ["Storage/Key-value stores"]
---

# Download records

`GET /v2/key-value-stores/{storeId}/records`

Downloads all records from the key-value store as a ZIP archive.
Each record is stored as a separate file in the archive, with the filename equal to the record key.

You can optionally filter the records by `collection` or `prefix` to download only a subset of the store.

## Path parameters

- `storeId` string, required

## Query parameters

- `collection` string
- `prefix` string
- `signature` string

## Response `200`

A ZIP archive containing the requested records.

## Other responses

- `400` — Bad request - invalid input parameters or request body.
- `401` — Unauthorized - authentication required or invalid token.
- `403` — Forbidden - insufficient permissions to perform this action.
- `404` — Not found - the requested resource does not exist.
- `405` — Method not allowed.
- `429` — Too many requests - rate limit exceeded.

---

[API](https://skmtc.net/apify/apis/apify-api.md) · [All operations](https://skmtc.net/apify/apis/apify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apify/apify-api/versions/01a71794279b/schema)
