Skip to main content
GET
List a Reason's messages

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, knowledge:read, memory:read, memory:write, skills:read, skills: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. network:read and network:write are opt-in, excluded from default keys. 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).

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, up to 200.

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.