---
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

## Response `200`

Attachment inventory bitfield

- AttachmentInventory — unresolved $ref

## Other responses

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

## Changes

- **2026-01-28** `30468ca2533f` — 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}$`
- **2026-01-14** `f7f733b4a1fc` — 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}$`
- **2026-01-14** `eb2153a4a3ad` — 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}$`
- **2026-01-02** `96224b968a3e` — 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-18** `97e7080a8130` — 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}$`

[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-service-production.skmtc.workers.dev/v1/apis/stacks-network/stacks-3-0-rpc-api/revisions/bfe6e0b30f62/schema)
