Skip to main content

userCodeFaultSummary

Faults grouped by engine, kind, blame and subject over a window, most frequent first. This is the health question: a count per shape answers 'what is failing and how often', which a single overwritten last_error slot never could — five prod modules read last_error = NULL while holding 4,767 lifetime watchdog terminations between them. Requires the org 'view_compute_diagnostics' permission.

userCodeFaultSummary(
appId: BigInt!
windowMinutes: Int = 60
): [UserCodeFaultSummaryEntry!]!

Arguments

userCodeFaultSummary.appId ● BigInt! non-null scalar

The app (tenant) to summarize.

userCodeFaultSummary.windowMinutes ● Int scalar

Look-back window in minutes (default 60, max 1440).

Type

UserCodeFaultSummaryEntry object

Faults grouped by engine, kind and blame over a window — the shape to alert on, and the answer to "is this us or them".