Get a Monitors Response Time
This endpoint allows you to retrieve the min, max, and average response time of a specific Monitor in your Garmingo Status instance.
Endpoint | Method | URL |
---|---|---|
/monitors/{id}/response-time | GET | https://garmingo.com/api/status/v1/monitors/{id}/response-time |
Query Parameters​
Parameter | Type | Description | Required | Default | Minimum | Maximum |
---|---|---|---|---|---|---|
timespan | string | The timespan to calculate the uptime for. Can be 24h , 7d , 30d , 90d . | Yes |
Response​
The response is a JSON object with the following properties:
Property | Type | Description |
---|---|---|
success | boolean | Whether the request was successful. |
data.min | number | The minimum response time of the Monitor in milliseconds |
data.max | number | The maximum response time of the Monitor in milliseconds |
data.avg | number | The average response time of the Monitor in milliseconds |
Example​
{
"success": true,
"data": {
"min": 100,
"max": 200,
"avg": 150
}
}