--- title: "REST API response when the alert condition is set to Average Across Nodes" slug: "rest-api-response-when-the-alert-condition-is-set-to-average-across-nodes" updated: 2024-05-17T18:32:49Z published: 2024-05-17T18:32:49Z canonical: "docs.catchpoint.com/rest-api-response-when-the-alert-condition-is-set-to-average-across-nodes" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.catchpoint.com/llms.txt > Use this file to discover all available pages before exploring further. # Understanding API v2 response when the alert condition is set to Average Across Nodes ## Problem Statement If a test has an alert condition with node threshold set as “Average Across Nodes”, the node details do not appear in the REST API v2 call for **GET /v2/tests/alerts** and when includeNodeDetails is set to **true** we get an error message. ``` Call: https://io.catchpoint.com/api/v2/tests/alerts?testIds={exampleTestId}&includeNodeDetails=true&pageNumber=1&pageSize=100 ``` ``` Response: "errors": [ { "message": "The Alert does not exist or does not match the filter criteria, change or relax the filter criteria and try again." } ], ``` ## Example **1. Alert condition set to Node** When the alert condition of a test is set to **Node** and **Include Node Details** parameter in the API call is set to **True** the response includes the node details such as node ID and node Name. ![Alert set to node.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/Alert%20set%20to%20node.png?sv=2026-02-06&spr=https&st=2026-11-23T01%3A21%3A32Z&se=2026-11-23T02%3A21%3A32Z&sr=b&sp=r&sig=YwvPov0h8%2FszFbHXQ6K6J%2BoKWUad0Fh%2BD4m%2F5dTgrzk%3D) ``` "alertType": { "id": 15, "name": "Availability" }, "criticalTrigger": 10, "node": { "id": 3457, "name": "New York, US - AT&T" } ``` --- **2. Alert condition set to Average Across Nodes** When the alert condition of a test is set to **Average Across Node** and **Include Node Details** parameter in the API call is set to **True** the response includes an error message. ![Alert set to average across node.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/Alert%20set%20to%20average%20across%20node.png?sv=2026-02-06&spr=https&st=2026-11-23T01%3A21%3A32Z&se=2026-11-23T02%3A21%3A32Z&sr=b&sp=r&sig=WISR7cleKTDPkhhYqRuAsiHi1HfenPEut7Cb7pw7mJY%3D) ``` "errors": [ { "message": "The Alert does not exist or does not match the filter criteria, change or relax the filter criteria and try again." } ] ``` ## Conclusion When the alert condition of a test is set to **Average Across Nodes** the node details are not returned in the API response of **GET /v2/tests/alerts** which is by design and expected as we can't show the node details if the alert is generated for values that are averaged across several nodes.