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
| Argument | Type | Description |
|---|---|---|
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
getAccountHealthSnapshotAccountHealthMetric
AccountHealthMetricObject type.
| Field | Type | Description |
|---|---|---|
metricId | AccountHealthMetricId! | |
pillar | AccountHealthPillar! | |
value | GenericScalar | The 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. |
supportingValues | GenericScalar! | Per-metric secondary values that contextualize the headline value (e.g., the counts that produced a rate). JSON object whose keys depend on metricId. |
dataAsOf | DateTime | Timestamp indicating how fresh the underlying data is for this metric. |
AccountHealthMetricId
AccountHealthMetricIdEnum type.
| Value | Description |
|---|---|
STATUS_UPDATE_RATE | |
ACKNOWLEDGEMENT_RATE | |
TIME_TO_RESOLVE | |
TIME_TO_FIRST_RESPONSE | |
MONITOR_COVERAGE_RATIO | |
COVERAGE_TREND | |
VISITOR_REACH_RATIO |
AccountHealthPillar
AccountHealthPillarEnum type.
| Value | Description |
|---|---|
OPERATIONS | |
COVERAGE | |
ADOPTION |
AccountHealthSnapshot
AccountHealthSnapshotObject type.
| Field | Type | Description |
|---|---|---|
metrics | [AccountHealthMetric!]! |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
