---
title: "GET /api/v1/dataset-item-blocks"
method: GET
path: "/api/v1/dataset-item-blocks"
tags: ["Dataset Item Blocks"]
---

# GET /api/v1/dataset-item-blocks

`GET /api/v1/dataset-item-blocks`

Retrieves multiple dataset item blocks.

## Query parameters

- `datasetId` string, uuid, required — A UUID v4 string that identifies an entity.
- `datasetItemIds` union
  - string[]
  - string, uuid — A UUID v4 string that identifies an entity.
- `mode` 'semantic' | 'similarity'
- `operator` 'ilike' | 'not ilike'
- `pageNumber` number — The page number.
- `pageSize` number — The page size.
- `search` string

## Headers

- `authorization` string, required — The API key to use for authentication. Can be created in the api keys section on the workspace settings page.

## Response `200`

Retrieves all dataset item blocks for the specified dataset.

- object[]
  - `createdAt` string, date-time, required
  - `id` string, uuid, required — A UUID v4 string that identifies an entity.
  - `updatedAt` string, date-time, required
  - `content` string, required — The content stored in the dataset item block.
  - `datasetItemId` string, uuid, required — The dataset item ID associated with the block.
  - `name` string, required — The display name of the dataset item block.

## Other responses

- `401` — Unauthorized.
- `404` — Dataset not found.

---

[API](https://skmtc.dev/zaia/apis/public-api.md) · [All operations](https://skmtc.dev/zaia/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zaia/public-api/revisions/58da3b2ba49f/schema)
