---
title: "List Content Chunks"
method: GET
path: "/api/content_chunks/"
tags: ["content_chunks"]
---

# List Content Chunks

`GET /api/content_chunks/`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/content_chunks/`
- Auth: HTTP bearer

Retrieve all content chunks. Optionally filter by one or more content_uuids and/or tags_uuids.

You can pass a single content_uuid or multiple content_uuids as query parameters.
You can pass a single tag_uuid or multiple tags_uuids as query parameters.
Example: /api/content_chunks/?content_uuid=uuid1&content_uuid=uuid2&tags_uuids=tag1&tags_uuids=tag2

## Query parameters

- `content_uuids` string[], nullable: Filter by one or more content UUIDs
- `tags_uuids` string[], nullable: Filter by one or more tag UUIDs
- `has_error` boolean, nullable: Filter by error property in info JSONB field. True returns chunks with error, False returns chunks without error
- `has_tags` boolean, nullable: Filter by tag existence. True returns chunks with at least one tag, False returns chunks without tags
- `page` integer: Page number
- `size` integer: Page size

## Response `200`

Successful Response

- PageContentChunk
  - `items` ContentChunk[], required
    - `uuid` string, uuid4, required
    - `text` string, required
    - `info` object, nullable
    - `future_updates` string[]
    - `last_edit` ChunkEditStamp
      - `edited_at` string, date-time, required
      - `source` string, required
      - `actor_email` string, nullable
      - `actor_id` string, nullable
      - `fields` string[]
      - `text_changed` boolean
      - `as_of` string, date, nullable
    - `content` AppViewsSchemasContentChunkSchemaContentRef
      - `uuid` string, uuid4, required
      - `name` string, required
    - `tags` ChunkTagAssociation[]
      - `tag_uuid` string, uuid4, required
      - `name` string, nullable
      - `weight` number, nullable
      - `weight_rationale` string, nullable
  - `total` integer, nullable, required
  - `page` integer, nullable, required
  - `size` integer, nullable, required
  - `pages` integer, nullable

## Other responses

- `422`: Validation Error

---

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