← All types
Ob Object

SimulationProgressEvent

Progress event streamed while a simulation runs; the last event carries the terminal status

Fields

The simulation run this event belongs to

Status at the time of the event

Possible values (5)
QUEUED

Accepted and waiting for a simulation worker

RUNNING

A worker is replaying the scenario

COMPLETED

Finished; result is populated

FAILED

Ended without a result; error carries the cause

CANCELLED

Cancelled by a user before completion

Samples finished so far

Samples the run will perform

error

StringNullable

Failure message when the run ended in error

Referenced by (1)
Exact type SDL
"""
Progress event streamed while a simulation runs; the last event carries the terminal status
"""
type SimulationProgressEvent {
  """The simulation run this event belongs to"""
  runId: ScenarioSimulationRunID!
  """Status at the time of the event"""
  status: SimulationRunStatus!
  """Samples finished so far"""
  completedSamples: Int!
  """Samples the run will perform"""
  totalSamples: Int!
  """Failure message when the run ended in error"""
  error: String
}