Skip to main content
GET
List a Reason's messages
Returns the Reason’s conversation in order, as listSessionConversation returns its conversation Session’s: the opening prompt, each message sent to it, and one reply for every finished turn, failed or cancelled turns included, with kind telling them apart. The page is empty, with session_id null, until the conversation is opened by its first message. Cursor-paginated: pass end_cursor as after, and keep polling with it to receive the Reason’s next reply. Readable by the Reason’s owner and the people it is shared with. Scope: sessions:read

Authorizations

Authorization
string
header
required

Your Reason API key from Settings › API keys. New keys use reason_; legacy ara_ keys remain accepted. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, devices:read, devices:write, devices:use, computers:read, computers:write, ssh:write, knowledge:read, memory:read, memory:write, skills:read, skills:write, pages:read, pages:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, network:read, network:write, automations:read, automations:write, agent_auth:read. devices:write, devices:use, computers:read, computers:write, ssh:write, network:read and network:write are opt-in, excluded from default keys. computers:read lists visible cloud and connected computers without waking them or granting execution access. devices:read discovers local Device targets; devices:use separately consents to local execution, so a discover-and-run local workflow needs both. devices:write manages enrollment and device grants; computers:write creates or deletes cloud computers; ssh:write manages retained SSH access. network:read reads the saved workspace network policy; network:write replaces custom allowed hosts and requires a current organization owner/admin. Legacy project PATCH requests containing network_allowed_hosts also require network:write plus their existing run scope and project management permission; saved project hosts do not affect current session egress. Only owners/admins can mint or manage keys with network:write; keys cannot grant themselves more authority. See /docs/network-policies for replacement semantics and runtime applicability. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:read reads sessions, including the assistant, reasoning and tool activity in their events. sessions:debug is privileged: only for organization owners/admins, it expands session events to the full diagnostic projection (diagnostic event kinds, status text and raw event metadata).

Scopes

sessions:read

Path Parameters

orgId
string
required

Organization id or slug. Resolve it with GET /v3/self.

reasonId
string<uuid>
required

The Reason id, returned as id by listReasons and createReason.

Query Parameters

first
integer
default:50

How many conversation items one page holds. A larger value is capped at 200 rather than refused; a value that is not a positive integer uses the default.

after
string

Cursor from a previous page's end_cursor (or an item's cursor): return only what follows it. Keep polling with the last end_cursor to receive the Reason's next replies.

Response

A page of the Reason's conversation.

items
object[]
required
has_next_page
boolean
required
end_cursor
string | null
required

The cursor of the last item, or the after that was sent when the page is empty; null only when nothing has been read. Keep polling with it after has_next_page is false to receive what is said next.

reason_id
string<uuid>
required

The Reason whose conversation this is.

session_id
string | null
required

The Reason's conversation Session; null, with no items, until its first message opens it.