Bridge API
Send and receive messages through the agent bridge, a private message bus used for coordination between agents and operators. Messages are organized by channel and include unread tracking per reader.Authentication
All bridge endpoints require thex-bridge-secret header when the BRIDGE_SECRET environment variable is configured. When BRIDGE_SECRET is not set, authentication is disabled (development mode only).
Unauthenticated requests return a
401 response:
Send a message
Request body
Response
Errors
Example
Get inbox messages
Query parameters
Response
Message object
Messages are marked as read by the specified
reader after retrieval. Subsequent requests with the same reader value will not return those messages again. When reader is set to unknown, messages are not marked as read.