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

episodeId
string<uuid>
required
replies
string[]
required

The agent's replies, at most 100: the simulated Slack thread posts for a Slack trigger, otherwise the episode session's assistant messages, in order. 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 turn ran.

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