---
title: "Get chunk details"
method: GET
path: "/v1/default/chunks/{chunk_id}"
tags: ["Documents"]
---

# Get chunk details

`GET /v1/default/chunks/{chunk_id}`

## Request

- Base URL: `https://hindsight.vectorize.io` (the document declares no server; this is the origin it was published from)
- URL: `https://hindsight.vectorize.io/v1/default/chunks/{chunk_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vectorize/apis/hindsight-http-api/docs/v1/default/chunks/:chunk_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a specific chunk by its ID

## Path parameters

- `chunk_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ChunkResponse: Response model for get chunk endpoint.
  - `chunk_id` string, required
  - `document_id` string, required
  - `bank_id` string, required
  - `chunk_index` integer, required
  - `chunk_text` string, required
  - `created_at` string, required
  - `attachments` ChunkAttachment[], nullable: Attachments referenced by this chunk's text, when it was retained with inline content. Each carries a bank-scoped `url` serving the original bytes. Omitted when there are none.
    - `id` string, required: The id inside the text's placeholder; a prefix of the bytes' sha256.
    - `hash` string, required: Full sha256 of the attachment bytes.
    - `kind` string, required: 'image' or 'file', as the caller sent it.
    - `media_type` string, required: MIME type of the attachment.
    - `byte_size` integer, required: Size of the attachment in bytes.
    - `filename` string, nullable: Original filename, when the caller supplied one.
    - `url` string, required: Bank-scoped API path serving the bytes. Requires the same authorization as the bank.

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-04** `4fda98b75f63`: 1 warning, 1 info
  - removed the optional property `detail/items/url` from the response with the `422` status
  - added the optional property `attachments` to the response with the `200` status
- **2026-05-15** `0d08f271b9db`: 3 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
  - added the optional property `detail/items/url` to the response with the `422` status

[Operation history](https://skmtc.dev/vectorize/apis/hindsight-http-api/changes/v1/default/chunks/:chunk_id/get.md)

---

[API](https://skmtc.dev/vectorize/apis/hindsight-http-api.md) - [All operations](https://skmtc.dev/vectorize/apis/hindsight-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vectorize/apis/hindsight-http-api/revisions/45e711cd0897?raw)
