Skip to main content

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.

EndpointMethodURL
/monitors/{id}/response-timeGEThttps://garmingo.com/api/status/v1/monitors/{id}/response-time

Query Parameters​

ParameterTypeDescriptionRequiredDefaultMinimumMaximum
timespanstringThe timespan to calculate the uptime for. Can be 24h, 7d, 30d, 90d.Yes

Response​

The response is a JSON object with the following properties:

PropertyTypeDescription
successbooleanWhether the request was successful.
data.minnumberThe minimum response time of the Monitor in milliseconds
data.maxnumberThe maximum response time of the Monitor in milliseconds
data.avgnumberThe average response time of the Monitor in milliseconds

Example​

{
"success": true,
"data": {
"min": 100,
"max": 200,
"avg": 150
}
}