---
title: "List datasets"
method: GET
path: "/v2/datasets"
tags: ["Datasets"]
---

# List datasets

`GET /v2/datasets`

Retrieves a paginated list of datasets for the current workspace. Results can be paginated using cursor-based pagination.

## Query parameters

- `limit` integer — A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
- `starting_after` string — A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
- `ending_before` string — A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
- `search` string — Filter datasets by display name (case-insensitive match).
- `updated_by` string — Comma-separated list of user IDs; returns datasets last updated by any of them.

## Response `200`

Datasets Retrieved Successfully

- object
  - `object` 'list', required
  - `data` object[], required
    - `_id` union, required — The unique identifier of the dataset
      - string
      - string, ulid — The id of the resource
    - `display_name` string, required — The display name of the dataset
    - `project_id` union, required — The unique identifier of the project it belongs to
      - string
      - string, ulid — The id of the resource
    - `workspace_id` union, required — The unique identifier of the workspace it belongs to
      - string
      - string, ulid — The id of the resource
    - `metadata` object, required
      - `total_versions` number, required
      - `datapoints_count` number, required
    - `created_by_id` union — The unique identifier of the user who created the dataset
      - string
      - string, ulid — The id of the resource
    - `updated_by_id` union — The unique identifier of the user who last updated the dataset
      - string
      - string, ulid — The id of the resource
    - `created` union — The date and time the resource was created
      - string, date-time
      - string, date-time
    - `updated` union — The date and time the resource was last updated
      - string, date-time
      - string, date-time
  - `has_more` boolean, required

---

[API](https://skmtc.net/orq-ai/apis/orq-ai-api.md) · [All operations](https://skmtc.net/orq-ai/apis/orq-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orq-ai/orq-ai-api/revisions/2cd7e7f7bcb4/schema)
