Get an environment status badge
Badges
Get an environment status badge
Renders an SVG status badge (passing/failing/running/etc.) for the latest test run of a project environment. Served unauthenticated for embedding in READMEs.
GET
Get an environment status badge
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Slug of the project that owns the environment.
Minimum string length:
1Slug of the environment to render a badge for.
Minimum string length:
1Query Parameters
Restrict the badge to the latest run on this branch. Blank/whitespace is treated as unset (latest run across branches).
Left-hand label text on the badge. Blank/whitespace falls back to the default (empirical tests).
Response
The rendered SVG badge image.
SVG markup for the status badge.