Get Test Trends
analytics_get_trendsDaily trend of web automation test results in a date range: for each UTC day that had at least one test, total tests, passed, failed, completed without a pass/fail mark, pass rate (passed over all tests), pass rate over tests marked passed or failed, and average duration. Days without runs are omitted, not listed as zero.
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_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| days | Yes | ||
| toDate | Yes | ||
| fromDate | Yes | ||
| truncated | Yes | True when tests_in_range is larger than tests_scanned. | |
| tests_scanned | Yes | Tests read and counted (at most 5000). | |
| tests_in_range | Yes | Tests the API holds for the range. |