Skip to main content
GET
Get an episode

Authorizations

Authorization
string
header
required

A Prime Intellect API key with the Prime Traces permission.

Headers

x-prime-team-id
string | null

Act on this team's traces instead of your personal ones. You must be a member of the team.

Path Parameters

episode_id
string
required

Query Parameters

raw
boolean
default:false

Response

Successful Response

episode_id
string
required
upload_id
string
required
schema_version
integer
required
created_at
string<date-time>
required
ingested_at
string<date-time>
required
run_id
string | null
required
environment_id
string | null
required
outcome
string | null
required
has_error
boolean
required
error
EpisodeError · object
required
traces
EpisodeTraceAggregate · object
required

Read-time rollup over deduplicated member traces.

A zero-trace episode is a legitimate terminal state — a failure before any trace was minted still leaves its errors on the episode — so an empty aggregate is not an error.