---
title: "List datasets"
method: GET
path: "/api/v1/datasets"
tags: ["Dataset"]
---

# List datasets

`GET /api/v1/datasets`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/adaptionlabs/apis/adaption-api/docs/api/v1/datasets/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `limit` number
- `cursor` string
- `status` string
- `q` string
- `created_after` string
- `created_before` string
- `sort` string
- `sort_direction` string
- `created_by_user_id` string
- `type` string

## Response `200`

- CursorListResponseDto
  - `datasets` DatasetSummaryDto[], required: Page of datasets
    - `dataset_id` string, required: Dataset ID
    - `name` string, nullable: Dataset name
    - `status` 'pending' | 'running' | 'awaiting_input' | 'succeeded' | 'failed', required: Dataset status
    - `updated_at` string, date-time, required: Last updated timestamp
    - `created_at` string, date-time, required: Timestamp when the dataset was created
    - `row_count` integer, nullable: Total number of rows
    - `description` string, nullable: Auto-generated description of the dataset contents
  - `next_cursor` string, nullable: Cursor for the next page. Null when no more results.

## Changes

- **2026-10-29** `b38d4dc031db`: 1 info
  - added the new optional `query` request parameter `type`

[Operation history](https://skmtc.dev/adaptionlabs/apis/adaption-api/changes/api/v1/datasets/get.md)

---

[API](https://skmtc.dev/adaptionlabs/apis/adaption-api.md) - [All operations](https://skmtc.dev/adaptionlabs/apis/adaption-api/llms.txt) - [OpenAPI document](https://skmtc.dev/adaptionlabs/apis/adaption-api/revisions/d4cf908c19a0?raw)
