Status badges

On this page

A badge shows the live status of a project, a tag or one check as a small image or as JSON. The URL is public and hard to guess, and it reveals nothing else: no ping URL can be worked out from a badge.

Which badges are there?

  • Project: the worst status of every check in the project.
  • Tag: the worst status among the checks that carry the tag.
  • Check: one check.

Any down check makes an aggregate badge down. A badge comes in two-state form, where late counts as up, and three-state form, where late is orange.

Where are the URLs?

badge URLs
https://cronmissed.com/badge/<token>.svg
https://cronmissed.com/badge/<token>.json
https://cronmissed.com/badge/<token>.shields

List all of a project's badges with GET /api/v3/badges. Each entry has svg, svg3, json, json3, shields and shields3. The .shields form is the endpoint format Shields.io reads, so you can restyle it there. Colors: up is green, late is orange and down is red.

How are they cached?

Badge responses can be cached for 30 seconds, so a status change shows within about half a minute. They allow cross-origin reads, so a dashboard can fetch the JSON directly.

Try it on one job

Create a check, copy its ping URL into the job, and watch the first ping arrive.

Start monitoring