---
title: "List datasets"
method: POST
path: "/api/datasets/list/"
tags: ["datasets"]
---

# List datasets

`POST /api/datasets/list/`

List datasets with pagination and optional filters.

## Query parameters

- `page` integer
- `page_size` integer
- `sort_by` string

## Headers

- `Authorization` string, required

## Request body

- object
  - `filters` object — Platform-standard filters keyed by field name.

## Response `200`

Paginated list of datasets.

- DatasetsListDatasetsResponse200
  - `count` integer — Total matching datasets.
  - `next` string, nullable — Next page URL.
  - `previous` string, nullable — Previous page URL.
  - `results` ApiDatasetsListPostResponsesContentApplicationJsonSchemaResultsItems[] — Array of dataset objects.
    - `id` string
    - `name` string
    - `description` string
    - `type` string
    - `status` string
    - `log_count` integer
    - `created_at` string, date-time
    - `organization_id` integer
    - `updated_by` ApiDatasetsListPostResponsesContentApplicationJsonSchemaResultsItemsUpdatedBy
      - `first_name` string
      - `last_name` string
      - `email` string, email
    - `log_ids` string[]
    - `updated_at` string, date-time
    - `completed_annotation_count` integer
    - `running_status` string
    - `running_progress` number, double
    - `starred` boolean
    - `tags` ApiDatasetsListPostResponsesContentApplicationJsonSchemaResultsItemsTagsItems[]
      - `id` string, uuid
      - `name` string
      - `color` string
    - `granularity` 'logs' | 'traces' — Evaluation unit. Immutable after dataset creation.
  - `total_count` integer — Total datasets matching the current filters.
  - `current_filters` object — Platform-standard filters keyed by field name.
  - `filters_data` ApiDatasetsListPostResponsesContentApplicationJsonSchemaFiltersData

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/4e064cf81dae/schema)
