Skip to main content
GET
Export a session transcript

Authorizations

Authorization
string
header
required

Enforced on every transport, with no exempt operation. A person's request — over the default local unix socket exactly as over a TCP listener — must carry a JWT issued by the configured identity provider, which the host verifies itself against that issuer's key set: signature, issuer, expiry, and the person and organisation it names. Requests without a valid one receive 401 NRY-0011. The socket's file permissions are transport and are not an authorisation.

Path Parameters

sessionId
string<uuid>
required

The session's id.

Query Parameters

includeReasoning
boolean
default:false

Carry the model's own reasoning blocks. Off by default: an export is normally read by a person following the conversation.

includeToolOutput
boolean
default:false

Carry the machine channels: what each tool answered, and what each background watcher printed. Off by default, and independent of includeReasoning — an audit of what the agent DID wants this and not the reasoning, and a study of how it THOUGHT wants the opposite. Both channels are text produced outside narya rather than conversation, which is why one parameter governs both; a monitor's NOTICES (started, exited, stopped, throttled) are narya's own sentences about a process and are always carried.

Response

The exported transcript in the negotiated format.

The transcript rendered as Markdown.