SVG badge for a status page's overall status
GET/api/v1/status-pages/:org/:slug/badge
Public SVG badge (shields.io style) reflecting the page-level rollup status — the static, script-free sibling of the JS embed widget, for contexts like GitHub READMEs where scripts can't run. Same visibility gate as the full view and the summary endpoint: a disabled or non-public page returns 404, identical to a page that doesn't exist. Same caching rule too: Cache-Control: public, max-age=60, stale-while-revalidate=30 for a public page, private, no-store for a password or private one — the badge renders the rollup status of a page the requester may not be entitled to see. No authentication required.
Request
Responses
- 200
- 401
- 404
SVG badge image
The status page is password protected and the request carried no valid unlock cookie. The error code is STATUS_PAGE_LOCKED, deliberately distinct from a generic UNAUTHORIZED: it means "unlock me", not "log in" — public status pages have no accounts. Obtain the cookie from POST /api/v1/status-pages/{org}/{slug}/unlock and replay it.
Resource not found