Status badge
The status badge is a small image showing the result of your latest build’s
tests, for a README, wiki or internal dashboard. It has three segments: a
label, the status and the build version, for example
semaloop | passing | 2.4.1 (812).
The badge updates the next time it is viewed after a run finishes. Clicking it opens the app’s dashboard in Semaloop, which requires logging in.
What the badge shows
Section titled “What the badge shows”| Status | Colour | Meaning |
|---|---|---|
passing | Green | Every test run on the latest build succeeded. |
N failing | Red | N test runs failed. |
running | Blue | Test runs are still in progress. |
running · N failing | Red | Test runs are in progress and N have already failed. |
X/Y passing | Amber | Some runs hit a Semaloop-side error rather than an app bug, so X of Y passed. |
no tests | Grey | The latest build has no test runs. |
unknown | Grey | The badge is disabled, or its link has been regenerated. |
Enabling the badge
Section titled “Enabling the badge”Go to Settings → Status badge and turn on Public status badge. Semaloop shows a preview and three snippets to copy: Markdown, HTML and the image URL. Changing this setting requires the write or admin role.
The Markdown snippet looks like this:
[](https://app.semaloop.com/app/<app-id>)Query parameters
Section titled “Query parameters”Add these to the image URL to change how the badge looks.
| Parameter | Values | Effect |
|---|---|---|
style | flat, flat-square, for-the-badge | The badge style. |
label | Text, up to 32 characters | Replaces the semaloop label. |
version | 0 | Hides the version segment. |
For example, ?style=flat-square&label=e2e&version=0 shows a square badge
labelled e2e with no version.
Using shields.io
Section titled “Using shields.io”Every badge has a JSON variant at the same URL with .json instead of .svg.
It returns a shields.io endpoint
payload, so you can render the badge through shields.io:
https://img.shields.io/endpoint?url=<URL-encoded .json URL>Regenerating and disabling
Section titled “Regenerating and disabling”Regenerate link replaces the badge URL with a new one. Badges using the
old link stop working and show unknown. Update the snippets wherever you
pasted them.
Turning the switch off disables the badge, which then shows unknown. Turning
it back on restores the previous link.
Privacy
Section titled “Privacy”Anyone with the badge link can see the latest build’s test result and version
number, without logging in. If your builds carry pre-release version numbers
you would rather not expose, add version=0 to the URL to hide them. To revoke
access, regenerate the link or disable the badge.
Managing the badge from an agent
Section titled “Managing the badge from an agent”The MCP server can manage the badge with these
tools: status_badge_get, status_badge_enable, status_badge_disable and
status_badge_rotate.