Account health (GraphQL)

Related queries and mutations in Dashboards and reports. Each has its own section.

Queries

getAccountHealthSnapshot (query)

getAccountHealthSnapshot is a query in the Monte Carlo GraphQL API, in Dashboards and reports. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Account Health Snapshot — per-account diagnostic metrics across Operations, Coverage, and Adoption pillars.

Arguments

ArgumentTypeDescription
metrics[AccountHealthMetricId!]!Metrics to fetch. Must contain at least one metric.

Returns

AccountHealthSnapshot

Example

query GetAccountHealthSnapshot($metrics: [AccountHealthMetricId!]!) {
  getAccountHealthSnapshot(metrics: $metrics) {
    metrics {
      metricId
      pillar
      value
      supportingValues
      dataAsOf
    }
  }
}

Types used only by getAccountHealthSnapshot

AccountHealthMetric

Object type.

FieldTypeDescription
metricIdAccountHealthMetricId!
pillarAccountHealthPillar!
valueGenericScalarThe metric's headline value. Shape depends on metricId — a number for rate or average metrics, an array of observations for time-series metrics. Null when the account has no data in the snapshot window.
supportingValuesGenericScalar!Per-metric secondary values that contextualize the headline value (e.g., the counts that produced a rate). JSON object whose keys depend on metricId.
dataAsOfDateTimeTimestamp indicating how fresh the underlying data is for this metric.
AccountHealthMetricId

Enum type.

ValueDescription
STATUS_UPDATE_RATE
ACKNOWLEDGEMENT_RATE
TIME_TO_RESOLVE
TIME_TO_FIRST_RESPONSE
MONITOR_COVERAGE_RATIO
COVERAGE_TREND
VISITOR_REACH_RATIO
AccountHealthPillar

Enum type.

ValueDescription
OPERATIONS
COVERAGE
ADOPTION
AccountHealthSnapshot

Object type.

FieldTypeDescription
metrics[AccountHealthMetric!]!

Related types

DateTime, GenericScalar

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.