---
title: "List data store records"
method: GET
path: "/data-stores/{dataStoreId}/data"
tags: ["Data stores / Data"]
---

# List data store records

`GET /data-stores/{dataStoreId}/data`

Retrieves a collection of all records from a data store with a given ID. Each returned record consists of the `key` (custom or automatically generated) and `data`.

## Path parameters

- `dataStoreId` integer, required

## Query parameters

- `pg[limit]` integer
- `pg[offset]` integer

## Response `200`

Successful response

- object
  - `records` object[]
    - `key` string — The unique key of the data store record. If no key is provided, it will be automatically generated.
    - `data` object — The data of the data store record. The structure strictly depends on the included data structure. If no data is provided, in response the values will be set to null.
  - `spec` object[]
  - `strict` boolean
  - `count` integer
  - `pg` object
    - `last` string — Shown only when using the `last` based pagination.
    - `showLast` boolean — Shown only when using the `last` based pagination.
    - `sortBy` string
    - `sortDir` string
    - `limit` integer
    - `offset` integer — Shown only when using the `offset` based pagination.

---

[API](https://skmtc.dev/make/apis/web-api-v2-public.md) · [All operations](https://skmtc.dev/make/apis/web-api-v2-public/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/make/web-api-v2-public/revisions/531769e6f813/schema)
