Skip to content

APIs and Webhooks

JSON path

JSON path is an expression that selects a value inside a JSON document.

What is json path?

JSON path describes an expression that selects a value inside a JSON document. In reliability work, the label is useful only when it maps to a measurable check, a clear owner, and a next action when expectations break. Without that operational meaning, the phrase becomes decoration in dashboards and status updates.

Why it matters

JSON path matters because teams need a precise shared meaning for an expression that selects a value inside a JSON document. Vague language turns incidents into arguments about words instead of fixes.

When everyone uses the same definition, alerts, status updates, and post-incident reviews stay aligned.

How it works

In practice, an expression that selects a value inside a JSON document shows up as a concrete signal you can measure or communicate. Operators define what good looks like, watch for deviations, and record what happened when expectations break.

The useful version of json path is operational: it changes who gets notified, what customers see, or which metric a team reviews after an incident.

Practical example

Imagine a team operating around $.status equals ok. When observed behavior stops matching the definition of json path, the team treats that change as a reliability event with a clear owner and next step.

Common misconception

JSON path is a database query language

That reading usually collapses distinct ideas into one slogan. Keep json path tied to observable behavior so the definition stays useful under pressure.

How Fajita handles this

Fajita can assert JSON paths on API monitors. See JSON path assertions.

Related documentation

Was this definition clear?