Skip to content

Get check summary

GET
/monitors/{monitor}/check-summary/{checkType}
curl --request GET \
--url https://example.com/api/monitors/1/check-summary/example \
--header 'Authorization: Bearer <token>'

The latest result and summary of one check type of the monitor. result is null until the check has a result.

Token abilities: checks:read.

monitor
required
integer

The monitor ID

checkType
required
string

The check type key, for example uptime or broken_links.

CheckSummaryData

Media typeapplication/json
CheckSummaryData
object
result
required
string | null
summary
required
string

Example

{
"result": "succeeded",
"summary": "Up"
}
X-RateLimit-Limit
integer

Requests per minute allowed by the limit this response counts against.

X-RateLimit-Remaining
integer

Requests left in the current minute.

Missing, invalid, expired or session-only credentials, or a disabled user.

Media typeapplication/json
Unauthenticated
object
error
required
string

Examples

ExampleUnauthenticated

Missing or invalid token

{
"error": "Unauthenticated."
}

The token lacks a required ability, or the user’s role or client access does not allow this action.

Media typeapplication/json
ErrorMessage
object
message
required
string

Examples

ExampleForbidden

The token lacks the ability

{
"message": "Invalid ability provided."
}

Not found or not visible to this token.

Media typeapplication/json
ErrorMessage
object
message
required
string

Examples

ExampleNotFound

Missing or hidden

{
"message": "No query results for model [Heptapod\\Models\\Site] 12"
}

Rate limited: 60 requests per minute per source IP before authentication, and 60 per minute per user and per token. See Retry-After.

Media typeapplication/json
TooManyRequests
object
error
required
string

Examples

ExampleTooManyRequests

Rate limited

{
"error": "Too Many Attempts."
}
Retry-After
integer

Seconds to wait before retrying.

X-RateLimit-Reset
integer

Unix time when the request limit resets. Only on request rate limits, not on refused manual runs.