SVG badges for GitLab project badges and READMEs. No sign-in, no state: the URL, with your API key in it, is the badge.
GET /<api key>/<type>.svg?label=…&message=…
| Parameter | Default | Meaning |
|---|---|---|
label | empty | Left text. Empty: message only. |
message | empty | Right text. Label or message is required, each at most 100 characters. |
color | blue | Message background: a name or hex (4c1, %23e05d44). |
label_color | grey | Label background, same format. |
style | default | Size, predefined per type (below). |
radius | per style | Corner radius in px, 0..20. rounded=false is radius=0. |
Colors by name: green, success, passed, yellowgreen, yellow, running, pending, orange, red, failed, blue, purple, grey, gray, lightgrey, lightgray, skipped, canceled, black, white. Text is white or dark, whichever reads better on the background.
gitlabSettings → General → Badges, Badge image URL, e.g.
https://badgekit-2-dda4af324b10.neodeploy-review.neopoly.dev/API_KEY/gitlab.svg?label=project&message=%{project_path} .
GitLab fills in its placeholders before requesting the image.