---
title: "Get full object chunks"
method: GET
path: "/vault/{id}/objects/{objectId}/chunks"
tags: ["Vaults"]
---

# Get full object chunks

`GET /vault/{id}/objects/{objectId}/chunks`

Retrieves full extracted chunk text for a processed vault object. Use this after search when a truncated preview is not enough and you need the exact chunk text or adjacent chunks for surrounding context such as tables, exhibit lists, or multi-part passages.

## Path parameters

- `id` string, required
- `objectId` string, required

## Query parameters

- `start` integer
- `end` integer

## Response `200`

Successfully retrieved full chunk text for the requested range

- object
  - `object_id` string, required — The object ID
  - `vault_id` string, required — The vault ID
  - `chunks` object[], required — Full chunk objects for the requested range
    - `index` integer, required — Chunk index within the document
    - `text` string, required — Full text for the chunk
    - `page_start` integer, nullable, required — First page covered by the chunk, if page mapping is available
    - `page_end` integer, nullable, required — Last page covered by the chunk, if page mapping is available
    - `word_start_index` integer, nullable, required — First OCR word index covered by the chunk, if available
    - `word_end_index` integer, nullable, required — Last OCR word index covered by the chunk, if available
  - `total_chunks` integer, required — Total number of chunks stored for the object

## Other responses

- `400` — Bad request - invalid range, missing parameters, or object not processed yet
- `401` — Unauthorized - invalid API key
- `403` — Forbidden - API key lacks vault service access or object scope
- `404` — Object or vault not found, or no chunk data is available

---

[API](https://skmtc.net/casemark/apis/case-dev-api.md) · [All operations](https://skmtc.net/casemark/apis/case-dev-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casemark/case-dev-api/versions/5b7e64e6d6f9/schema)
