print-agent

Answer work: true the moment a job is queued for this agent's station, else work: false after seconds.

OWNER, 2026-11-17, at intake desk PGN-WS-05: "the label's supposed to be 1 second." Agent 1.108 calls this in place of its idle 5 s sleep and claims at once on true, so the intake sticker leaves the desk's printer within a second of the KEEP instead of up to 5.6 s later (agent_wake, ruling 2026-11-17-the-intake-sticker-prints-before-the-screen-turns-green). Holds no database connection while it waits (BriefConnection): the hint comes over the process's one LISTEN connection.

post/api/print/agent/wait-for-work

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

authorization, string nullable

Request body

WaitBody nullable required

How long the agent will wait for work (agent 1.108): its own idle poll, never more than agent_wake.MAX_WAIT_SECONDS.

seconds, number

Response

Successful Response

object required

Changes