---
title: "Get list of keys"
method: GET
path: "/v2/key-value-stores/{storeId}/keys"
tags: ["Storage/Key-value stores"]
---

# Get list of keys

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

Returns a list of objects describing keys of a given key-value store, as
well as some information about the values (e.g. size).

This endpoint is paginated using `exclusiveStartKey` and `limit` parameters
- see [Pagination](/api/v2#using-key) for more details.

## Path parameters

- `storeId` string, required

## Query parameters

- `exclusiveStartKey` string
- `limit` number
- `collection` string
- `prefix` string
- `signature` string

## Response `200`

- ListOfKeysResponse
  - `data` ListOfKeys, required
    - `items` KeyValueStoreKey[], required
      - `key` string, required
      - `size` integer, required
      - `recordPublicUrl` string, uri, required — A public link to access this record directly.
    - `count` integer, required
    - `limit` integer, required
    - `exclusiveStartKey` string, nullable
    - `isTruncated` boolean, required
    - `nextExclusiveStartKey` string, nullable

## Other responses

- `400` — Bad request - invalid input parameters or request body.
- `401` — Unauthorized - authentication required or invalid token.
- `402` — Payment required - the user has exceeded their usage limit, does not have enough credits, or the request lacks authentication and payment credentials.
- `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)
