---
title: "Wait"
method: GET
path: "/api/agent-bus/wait"
tags: ["agent-bus"]
---

# Wait

`GET /api/agent-bus/wait`

## 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/agent-bus/wait`
- Auth: none declared

AGENTBUS-1 (AB-9): long-poll for new messages. Returns as soon as one exists for the caller, or [] after
`seconds`. `seen` is a comma-separated list of message ids the caller already has (at most 200); they are not
returned again. Built 2026-11-19 by the builder under the AGENTBUS-1 brief; see wake.py for the design.

## Query parameters

- `after` string, date-time, nullable
- `seen` string
- `seconds` number

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-19** `e726fa19626f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/agent-bus/wait/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)
