Skip to main content
GET
Get a simulation

Authorizations

Authorization
string
header
required

An Egma API key.

Path Parameters

simulationId
string
required

Simulation ID returned by List simulations in a run.

Minimum string length: 1
Example:

"sim_01M0E4J0BBE1FVDVTZ1BSS5C97"

Query Parameters

projectId
string
Minimum string length: 1

Response

The simulation and its available evidence. Check spansTruncated before treating the returned span tree as complete.

id
string
required
Minimum string length: 1
projectId
string
required
Minimum string length: 1
runId
string
required
Minimum string length: 1
runName
string | null
required
position
integer
required
status
enum<string>
required
Available options:
queued,
claimed,
running,
completed,
failed,
canceled
workBlock
object | null
required
gradingState
enum<string> | null
required
Available options:
not_requested,
pending,
running,
complete,
error
evidenceError
object | null
required
grades
object[]
required

The current result for each selected grader. Each grade has its own score, frozen threshold, result, and supporting details.

gradeHistory
object[]
required

Recorded grade results, including previous grading attempts. Regrading preserves this history.

combinedScore
number | null
required

Display-only arithmetic mean when every selected grader has a current score. Null while a required score is missing or errored. This is not an overall pass/fail result.

Required range: 0 <= x <= 1
reason
string | null
required
executionFailure
string | null
required
modality
enum<string>
required
Available options:
voice,
chat
createdAt
string<date-time>
required
startedAt
string<date-time> | null
required
endedAt
string<date-time> | null
required
providerReference
string | null
required
hasRecording
boolean
required
agentPovComplete
boolean
required
agentPovIncomplete
boolean
required
measures
object
required
metrics
object[]
required

Observed facts about the conversation, such as latency and duration. Metrics are separate from grader results.

test
object
required
persona
object
required
agent
object
required
connection
object
required
connectionSnapshot
object
required
gradingPlan
object | null
required

The grader definitions, versions, and pass thresholds frozen when the run started. Regrading uses this selection.

transcript
object | null
required

The conversation and tool evidence available for this simulation. Null when no trace is available.