Get Analytics Errors
analytics_get_errorsSummarises failed and errored web automation tests in a date range: counts by failure category and by status, and the failing tests themselves with build and environment. Failure categories exist only for about the last 7 days of tests; older failures are counted as uncategorised.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analytics_get_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum failing tests to return, 1 to 200. Defaults to 20. | |
| toDate | No | End date, YYYY-MM-DD (UTC), included. Defaults to today. | |
| fromDate | No | Start date, YYYY-MM-DD (UTC), no earlier than 59 days before today (older results are not served). Defaults to 30 days before toDate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | Yes | ||
| fromDate | Yes | ||
| by_status | Yes | ||
| truncated | Yes | True when tests_in_range is larger than tests_scanned. | |
| failing_count | Yes | ||
| failing_tests | Yes | ||
| tests_scanned | Yes | Tests read and counted (at most 5000). | |
| insights_error | No | ||
| tests_in_range | Yes | Tests the API holds for the range. | |
| by_failure_category | Yes | ||
| failing_with_insights | Yes |