API monitors and assertions
Call an endpoint and check the status, headers, speed or a value in the answer.
An API monitor sends a request with the method, headers and body you choose, then checks the answer against rules called assertions. The monitor is up only when every assertion passes.
What you can check
- Status code, for example that a missing page really returns 404.
- A header in the response.
- Response time, for example under 800 ms.
- A value in JSON, using a path such as
data.items[0].status.
Comparisons include equals, not equals, greater and less than, contains, exists, and a pattern match.