Skip to main content

gameModelRunAutomation

Run an automation once, immediately (manual trigger), regardless of its schedule. Applies the same guard chain (app gate, rate limit, circuit) and records a run. Useful for testing an NPC. Requires app-admin ('manage_apps').

gameModelRunAutomation(
appId: BigInt!
name: String!
): GmAutomationRun!

Arguments

gameModelRunAutomation.appId ● BigInt! non-null scalar

The app (tenant) that owns the automation.

gameModelRunAutomation.name ● String! non-null scalar

The automation name to run now.

Type

GmAutomationRun object

One execution of an automation: its target/fan-out + invocation counts, timing, outcome, circuit action, and billed compute. The monitoring + billing record.