> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Document Chunks - GET /v1/workspaces/:workspace_id/documents/:doc_id/chunks

> Return a document's parsed text chunks via GET /v1/workspaces/:workspace_id/documents/:doc_id/chunks. Minimum role viewer.

Return the text chunks a document was parsed into — useful to inspect retrieval granularity or trace auto-extracted memory back to its source.

## Endpoint

```http theme={null}
GET /v1/workspaces/:workspace_id/documents/:doc_id/chunks
```

## Authentication

`Authorization: Bearer <jwt>` or `X-API-Key <sk_...>`. Minimum role: **viewer**.

## Path parameters

**workspace\_id** `string` *required*

Workspace id.

**doc\_id** `string` *required*

Document id.

## Response

The response is an array; each element is a chunk:

**id** `string`

Chunk id (`chk_...`).

**doc\_id** `string`

Owning document id.

**kb\_id** `string`

Owning KB id.

**workspace\_id** `string`

Owning workspace id.

**seq** `integer`

Order index of the chunk within the document.

**content** `string`

Chunk text.

## Example

```bash cURL theme={null}
curl https://memo.ariacompute.com/v1/workspaces/ws_01a2b3c4d5e6/documents/doc_01a2b3c4d5e6/chunks \
  -H "Authorization: Bearer <jwt>"
```

```json 200 theme={null}
[
  {
    "id": "chk_01a2b3c4d5e6",
    "doc_id": "doc_01a2b3c4d5e6",
    "kb_id": "kb_01a2b3c4d5e6",
    "workspace_id": "ws_01a2b3c4d5e6",
    "seq": 0,
    "content": "AriaMem supports bidirectional knowledge memory conversion."
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.