The Dashboard and Badges
By the end of this chapter you can read Gatus's whole board at a glance — the dashboard page, the JSON API beneath it, and the badges that let other pages borrow the verdicts. Everything here was fetched from the lab's running Gatus; the transcripts are the receipts.
The dashboard
Open http://127.0.0.1:8085 and the
page answers with the title Health
Dashboard | Gatus (the lab verified
the reply before it ever saw a browser:
HTTP 200 and that title, in transcript
t02-dashboard.txt). What the page
shows, per endpoint:
- its name, under its group heading — groups are the config's one organising idea, and on a real board they are how "the whole shop is down" separates from "one gadget is sulking";
- a strip of recent results, one block per visit, green or red, newest last — the last hundred results storage kept (chapter 8);
- its uptime over the recent windows, and response-time figures;
- and, on the endpoint's own detail view, its events: the moments it changed state. The lab's dead endpoint earned this honest little biography:
START 2026-10-29T18:24:31Z
UNHEALTHY 2026-10-29T18:24:31Z
HEALTHY 2026-10-29T18:26:41Z
— born, immediately down, rescued two minutes later. Events are the record alerts are made from (chapter 6), and they are capped too: fifty by default.
The page itself is a viewer, not an
editor. Nothing on it can be clicked
into a different configuration — every
change goes through the YAML file,
which is why the file matters so much
(chapter 2) and why its reload is so
convenient (transcript
t07-config-reload.txt). The ui:
section of the config can retitle the
page, change the headings, add a logo
or buttons, and choose dark mode —
cosmetics, all documented in the
project's README, none of it changing
what is measured.
The API: the page, as data
Everything the dashboard draws comes from one address:
curl -s http://127.0.0.1:8085/api/v1/endpoints/statuses
One endpoint's slice of it can be had by key — group, underscore, name:
curl -s http://127.0.0.1:8085/api/v1/endpoints/lab_gone-service/statuses
Chapter 4 taught the reading of a
single result. The habit worth building
is this chapter's check: when the board
looks wrong, ask the API which
condition failed and what value it saw,
before touching anything. The lab's
three endpoints, one minute in — 7
visits each — summarised from the real
reply (transcript
t03-api-statuses.txt):
| Endpoint | Results | Verdict | Why |
|---|---|---|---|
| front-page | 7 of 7 passed | up | status, body pattern and response time all within rules |
| health-api | 7 of 7 passed | up | [BODY].status == UP held |
| gone-service | 0 of 7 passed | down | connection refused — [CONNECTED] false |
The full JSON from that moment is kept
at gatus-lab/api-statuses.json; it is
worth opening once, to see that nothing
on the pretty page is magic — it is
this data, drawn.
Badges: verdicts other pages can wear
A badge is a small SVG image Gatus generates for one endpoint, addressed by its key, in three kinds — current health, uptime over a window, and response time over a window:
/api/v1/endpoints/lab_front-page/health/badge.svg
/api/v1/endpoints/lab_health-api/uptimes/24h/badge.svg
/api/v1/endpoints/lab_front-page/response-times/24h/badge.svg
(Uptime and response-time windows are
1h, 24h, 7d, 30d.) The lab
fetched all of these, plus the down
endpoint's health badge; every one
answered HTTP 200 with
Content-Type: image/svg+xml, and the
words inside them were (transcript
t04-badges.txt):
health | up (front-page)
health | down (gone-service)
uptime 24h | 100% (health-api)
response time 24h | 3ms (front-page)
Because a badge is just an image at a URL, it can be embedded anywhere images go — a project README on GitHub, a wiki, an internal start page:

That one line turns any page into a small status page, and it is the honest way to answer "is it up?" for an audience that should not need the whole dashboard. Two cautions, both developed in chapter 11: the badge reveals that the service exists and how it is doing — on a public page, that is a decision, not a default — and a badge is only as live as the Gatus behind it.
The check for this chapter: pick one endpoint, fetch its health badge, and read it; then make the endpoint fail (stop its server, or borrow the lab's dead port) and fetch again after a check interval. up becoming down in the image — not just on the dashboard — proves the whole chain is one chain.