GmAutomationRun
One execution of an automation: its target/fan-out + invocation counts, timing, outcome, circuit action, and billed compute. The monitoring + billing record.
type GmAutomationRun {
runId: String!
appId: BigInt!
flowId: String
automationId: String!
automationName: String!
triggerSource: String!
parentRunId: String
cascadeDepth: Int!
startedAt: DateTime!
finishedAt: DateTime
durationUs: Int!
targets: Int!
invocations: Int!
mutations: Int!
fnCalls: Int!
gasUsed: Int!
success: Boolean!
errorMessage: String
circuitAction: String
computeUnits: Int!
}
Fields
GmAutomationRun.runId ● String! non-null scalar
Unique run id (UUID).
GmAutomationRun.appId ● BigInt! non-null scalar
The app (tenant).
GmAutomationRun.flowId ● String scalar
Flow correlation id: shared with gm event-log rows and compute module runs triggered by the same entry call (player invoke / automation run / computeInvoke).
GmAutomationRun.automationId ● String! non-null scalar
The automation that ran.
GmAutomationRun.automationName ● String! non-null scalar
The automation name at run time.
GmAutomationRun.triggerSource ● String! non-null scalar
What triggered the run: schedule | event | manual | cascade.
GmAutomationRun.parentRunId ● String scalar
Parent run id when triggered as a cascade.
GmAutomationRun.cascadeDepth ● Int! non-null scalar
Cascade depth (0 = top-level).
GmAutomationRun.startedAt ● DateTime! non-null scalar
When the run started.
GmAutomationRun.finishedAt ● DateTime scalar
When the run finished.
GmAutomationRun.durationUs ● Int! non-null scalar
Wall-clock duration in microseconds.
GmAutomationRun.targets ● Int! non-null scalar
Number of target containers acted on (fan-out).
GmAutomationRun.invocations ● Int! non-null scalar
Number of function invocations performed.
GmAutomationRun.mutations ● Int! non-null scalar
Number of property mutations applied across invocations.
GmAutomationRun.fnCalls ● Int! non-null scalar
Number of fn: user-function calls across invocations.
GmAutomationRun.gasUsed ● Int! non-null scalar
Evaluation gas consumed across invocations.
GmAutomationRun.success ● Boolean! non-null scalar
Whether the run succeeded.
GmAutomationRun.errorMessage ● String scalar
Error message when the run failed.
GmAutomationRun.circuitAction ● String scalar
Circuit action taken (e.g. opened, half_open_retry, budget_paused, cascade_dropped, rate_limited).
GmAutomationRun.computeUnits ● Int! non-null scalar
Billed compute units for this run.
Returned By
gameModelAutomationRuns query ● gameModelRunAutomation mutation
Member Of
GmFlowTimeline object