Rensei docs

Read a session's sent and received a2a messages.

Returns the a2a messages a dispatched session sent (metadata.senderSessionId, its handle, or the formal a2a-session owner) and received (its handle or the formal owner), newest first with cursor paging and session-wide sent/received counts. Org and project fenced like the other session reads; a cross-scope session reads as missing.

GET
/api/sessions/{id}/a2a-messages

Authorization

headerAuthorizationBearer <rsk_live_*>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

Path Parameters

id*string
Length1 <= length <= 256

Query Parameters

cursor?string
Lengthlength <= 4096
limit?integer
Range1 <= value <= 100

Response Body

The session's a2a messages.

application/json
  1. response
sessionId*string
sent*array<>
received*array<>
counts*
nextCursor*string|null
truncated*boolean
Example Request
curl -X GET 'https://app.rensei.ai/api/sessions/string/a2a-messages'
Example Response
{  "sessionId": "string",  "sent": [    {      "id": "string",      "direction": "sent",      "senderId": "string",      "recipientId": "string",      "taskId": "string",      "mailboxStatus": "string",      "preview": "string",      "createdAt": "string"    }  ],  "received": [    {      "id": "string",      "direction": "sent",      "senderId": "string",      "recipientId": "string",      "taskId": "string",      "mailboxStatus": "string",      "preview": "string",      "createdAt": "string"    }  ],  "counts": {    "sent": 0,    "received": 0  },  "nextCursor": "string",  "truncated": true}