---
title: "Get Piece"
method: GET
path: "/api/fulfillment/pieces/{ref}"
tags: ["fulfillment"]
---

# Get Piece

`GET /api/fulfillment/pieces/{ref}`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/fulfillment/pieces/{ref}`
- Auth: none declared

One piece, at the stage it is at (ONE-PIECE-001; owner 2026-11-19: "intake is a parcel page that hasn't graduated
to a parcel page yet").

`ref` is an intake ID in any form, a parcel code, a parcel UUID or our printed QR URL (`piece.resolve_piece`, the one
resolver). Stage "parcel" answers the parcel's UUID, and the page loads `GET /parcels/{uuid}` as it always has. Stage
"intake" answers the intake wire the page draws in the parcel page's own layout. 404 with the sentence the owner
reads when nothing matches. A read: no write, no model call.

Registered with `add_api_route` below, not a decorator: the dead-code gate (`ci/new_dead_code_in_diff.py`) reads a
decorator-registered handler as unused, and the other routes in this file register the same way.

## Path parameters

- `ref` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-20** `e7efc5ec367e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/fulfillment/pieces/:ref/get.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
