Outcome
An API monitor sends a configured request and asserts on the status code, timing, headers, and JSON body.
Methods
API monitors support GET, HEAD, and POST. Set a request body for POST.
Headers and authentication
Add request headers, including an authorization header. Store the token as a secret so it is encrypted and masked.
Authorization: Bearer YOUR_API_TOKEN
Accept: application/jsonAssertions
| Assertion | Use |
|---|---|
| Status code | Require an exact code or accepted set |
| Response time | Fail or degrade past a threshold in milliseconds |
| Header equals | Require a response header value |
| JSON path | Check a value inside the JSON body |
For JSON checks, see JSON path assertions.
Timeouts
A request that does not complete within the monitor's timeout is a failure. The default timeout is 10 seconds.
Example health endpoint
{
"status": "ok",
"version": "2026.07",
"checks": { "database": "ok" }
}