---
title: "Awaiting Confirmation"
method: POST
path: "/api/print/agent/awaiting-confirmation"
tags: ["print-agent"]
---

# Awaiting Confirmation

`POST /api/print/agent/awaiting-confirmation`

## 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/print/agent/awaiting-confirmation`
- Auth: none declared

One page of the jobs this agent submitted to a press that Roost has no
ending for, with the press's own job ids
(`agent_service.awaiting_confirmation`), and the cursor of the next page.

The agent asks at startup and every ten minutes after, paging until a page
comes back short, and follows each job to the press's answer, so a job
submitted before a restart, or by the older agent that stopped looking after
twenty seconds, is not left `submitted` for ever (Frederick, 2026-10-08:
"You have to know when something has been successfully printed or not.").
A POST like every verb on this router, though it only reads.

Authenticated as a dependency (`_require_agent`), so an anonymous request
is a 401 before anything else, like `/telemetry` and unlike the four older
routes that check inside their bodies.

## Headers

- `authorization` string, nullable

## Request body

- AwaitingConfirmationRequest, nullable: Which page to read: the first when both cursor fields are absent (an agent older than 1.5 sends no body at all and gets the first page).
  - `after_submitted_at` string, date-time, nullable
  - `after_id` string, uuid, nullable
  - `limit` integer

## Response `200`

Successful Response

- AwaitingConfirmationResponse
  - `jobs` object[], required
  - `next` object, nullable

## Other responses

- `422`: Validation Error

---

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