Get Time to Restore
get_time_to_restoreRetrieves the time required to restore data for a specified environment and date range from the Reporting API, with optional aggregate metrics.
Instructions
Get time to restore data from the Reporting API
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"environmentId": "<environmentId>",
"StartDate": "<StartDate>",
"EndDate": "<EndDate>"
},
"name": "get_time_to_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| EndDate | Yes | End date in UTC format (e.g., 2024-01-31T23:59:59Z) | |
| Interval | No | Time interval for aggregation (required if aggregate=true) | |
| StartDate | Yes | Start date in UTC format (e.g., 2024-01-01T00:00:00Z) | |
| aggregate | No | Return aggregate metrics | |
| environmentId | Yes | Environment ID (required, passed as path parameter) |