Skip to main content
GET
/
v1
/
datasets
/
{dataset_id}
/
snapshots
List Dataset Snapshots
curl --request GET \
  --url https://api.cuadra.ai/v1/datasets/{dataset_id}/snapshots \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "datasetId": "<string>",
      "version": 2,
      "recordCount": 1,
      "status": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ],
  "nextCursor": "<string>",
  "hasMore": false,
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

JWT token from Stytch B2B authentication (magic link, SSO, or M2M)

Path Parameters

dataset_id
string
required

Dataset ID

Example:

"dataset_abc123"

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
cursor
string | null

Opaque cursor

Response

Successful Response

Offset-style page envelope for dataset snapshots.

items
DatasetSnapshotOut · object[]
required

List of snapshots

nextCursor
string | null

Cursor for next page

hasMore
boolean
default:false

Whether more results exist

totalCount
integer | null

Total count of snapshots