Read recent hub communication activities
GET /api/agent-communication/debug/communication-activities
Translate the hub’s message history into :class:CommunicationActivity records.
Per-message latency reflects real delivery timing:
response_time_ms = (delivered_at - timestamp) in ms when the recipient
has drained the message, else 0.0. status mirrors delivery —
"completed" when delivered_at is set, "pending" when the
message is still in the queue.
Query Parameters:
limit: Maximum activities to return (default 50).agent_id: Optional — only include activities where this agent is the sender or recipient.
Returns:
- :class:
CommunicationActivitiesResponsewith the filtered, limited list.
Raises:
HTTPException 503: Communication hub unavailable.HTTPException 500: Unexpected hub error while reading the history.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”Successful Response
Communication activities response model.
Provides log of communication activities between agents including message exchanges, consultations, and workflow coordination events. Used for activity monitoring and audit logging endpoints.
Usage: GET /api/agent-communication/activities returns this response model.
object
Operation status
Communication activity log
Single entry in the communication hub activity log.
Fields:
id: hub-assigned activity identifier.timestamp: ISO 8601 timestamp the activity was recorded.sender_agent/recipient_agent: participating agent ids.message_type: message classification ("direct","broadcast","consultation", etc.).protocol: transport protocol tag.status: activity outcome ("completed","failed","pending").response_time_ms: round-trip latency in milliseconds.success: whether the activity completed successfully.metadata: optional extra context from the hub.
object
Activity identifier
ISO 8601 activity timestamp
Sending agent id
Receiving agent id
Message classification tag
Transport protocol tag
Activity outcome
Round-trip latency in milliseconds
Whether the activity succeeded
Total activities
Validation Error