Skip to main content
GET
/
v1
/
datasets
List Datasets
curl --request GET \
  --url https://api.cuadra.ai/v1/datasets \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "description": "Q&A pairs for support",
      "items": [
        "<unknown>"
      ],
      "snapshots": [
        "<unknown>"
      ]
    }
  ],
  "nextCursor": "<string>",
  "hasMore": false,
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

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

Opaque cursor

Response

Successful Response

Cursor-style page envelope for datasets.

items
DatasetOut · object[]
required

List of datasets

nextCursor
string | null

Cursor for next page

hasMore
boolean
default:false

Whether more results exist

totalCount
integer | null

Total count of datasets