List channel messages

Authentication

AuthorizationBearer

Tenant/app API key or OAuth/JWT bearer token.

Path parameters

channelIdstringRequired
Channel id.

Headers

X-CES-Workspace-IDstringOptionalformat: "^ws_[A-Za-z0-9_-]+$"
Optional Workspace runtime selector header. If supplied with workspaceId, both values must match.

Query parameters

agentIdstringOptional
Optional agent participant id filter within this app.
limitintegerOptional1-200Defaults to 50
Maximum number of messages to return.
beforestringOptional
Exclusive message id cursor for backward pagination.
workspaceIdstringOptionalformat: "^ws_[A-Za-z0-9_-]+$"

Optional Workspace runtime selector for preview or validation calls. If supplied with X-CES-Workspace-ID, both values must match.

Response

Channel message page
messageslist of maps from strings to any
hasMoreboolean
expiredboolean
True when the before cursor was too old to serve precisely.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error