---
title: "Get attachment inventory"
method: GET
path: "/v2/attachments/inv"
tags: ["Atlas"]
---

# Get attachment inventory

`GET /v2/attachments/inv`

Get inventory of attachments for a given index block hash and page range.
This returns a bitfield indicating which attachments are available.

## Query parameters

- `index_block_hash` string, required
- `pages_indexes` string, required — max 8 pages per request

## Response `200`

Attachment inventory bitfield

- AttachmentInventory — unresolved $ref

## Other responses

- `400` — Bad request
- `404` — Not found

## Changes

- **2025-12-15** `d7bba78bfcac` — 1 warning
  - changed the pattern of the `query` request parameter `pages_indexes` from `^[0-9]{1,10}(,[0-9]{1,10}){0,7}$` to `^[0-9]+(,[0-9]+){0,7}$`
- **2025-12-04** `46bc74e5bab3` — 1 warning
  - changed the pattern of the `query` request parameter `pages_indexes` from `^[0-9]+(,[0-9]+){0,7}$` to `^[0-9]{1,10}(,[0-9]{1,10}){0,7}$`
- **2025-07-09** `04a9a0b50aa3` — 1 info
  - endpoint added
- **2025-07-08** `488dd3b80020` — 1 breaking
  - api path removed without deprecation
- **2025-07-08** `170414634c90` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/changes/v2/attachments/inv/get.md)

---

[API](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api.md) · [All operations](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/revisions/d7bba78bfcac?raw)
