JSON
The JSON sensor calls an API, reads one value from the JSON response with a JSONPath, and compares it to the value you expect. Use it to check what an API says, not only that it answers: a component status, a queue length, a latency reported by the service itself.
In the wizard: API → JSON response content.

Settings#
The request settings are those of the HTTP sensor (except HEAD), plus a Response validation section:
| Setting | Description |
|---|---|
| JSONPath | Where to read the value, for example $.status or $.components[0].state. |
| Condition | How to compare: Equal to, Not equal to, More than, Less than, Match regex, String contains, string length and array conditions (Array contains, Array length equal to…). |
| Value type | String, integer, decimal or date, depending on the condition. |
| Value to check | The expected value. |
| Case sensitive | For text comparisons. |
When is it healthy?#
When the request succeeds with an accepted code, the JSONPath finds a value, and the condition holds.
The measured value#
When the value is numeric, it is recorded with each check and drawn on the sensor's chart: you see its evolution, not only up or down. See Results and history.
Examples#
Public API — Response time:$.p95_msLess than800. The API reports its own p95 latency; the sensor fails when it goes over 800 ms.Notifications — SMS gateway:$.component.statusEqual tooperationalon the provider's status API.