Skip to content

Explorer

Benjamin Knapp edited this page Jul 8, 2026 · 1 revision

JSON API Explorer

explorer/index.html is a standalone, dependency-free web page. Open it directly in a browser — nothing is uploaded anywhere, everything runs locally.

What it does

  1. Configure one or more endpoints (URL, method, auth, request body, headers, timeout, TLS/redirect toggles).
  2. Paste each endpoint's sample JSON response.
  3. Click the fields you want to monitor; set thresholds, labels and units.
  4. It generates, ready to copy:
    • the agent --endpoint command line for CLI testing,
    • the rule value for rules.mk,
    • a REST API request body + curl to create the rule on a site.

Auth is emitted as a password-store reference — create the matching entry under Setup → Passwords on your site.

Why use it

  • You don't have to hand-write JSON paths — clicking a value fills them in, including [*] wildcards for arrays.
  • You can validate your extraction against a real sample before touching the site.

Getting it

  • Grab it from the repo: explorer/index.html (Save As, or open the raw file).
  • It's a single self-contained file — keep a copy locally and reopen it any time.

Back to Home · Configuration.

Clone this wiki locally