Skip to main content
GET
Get what a simulation episode observed

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Path Parameters

runId
string<uuid>
required

Simulation run id.

episodeId
string<uuid>
required

Simulation episode id.

Response

OK

conversationReplies
boolean
required

True when replies are the posts the episode made in the conversation that triggered it (a simulated Slack thread, or a GitHub App issue or pull request) rather than the episode session's assistant messages.

episodeId
string<uuid>
required
replies
string[]
required

The agent's replies, oldest first, at most 100. For a Slack trigger, the simulated Slack thread posts. For a GitHub App trigger, the reply tool's posts plus GitHub comments and posted reviews on the triggering issue or pull request, from any session in the tree. Otherwise, the episode session's assistant messages; the last is the final message.

toolCalls
object[]
required

Tool calls across the episode's session tree, in transcript order: at most 500.

truncated
boolean
required

True when replies past the first 100, tool calls past the first 500, or a call's arguments over 16 KiB were left out. The session itself holds everything.

durationSeconds
number

How long the episode's session ran, from its start to its last activity, across every turn.

sessionId
string<uuid>

The episode's session. Empty, with nothing observed, when no session started.

sessionStatus
enum<string>

The session status checks read; empty while the session is still working.

Available options:
completed,
failed,
cancelled,
idle,
awaiting_human