Badge
Shields.io-compatible endpoint for rendering dynamic trust badges.
GET
https://audit-engine.oathe.ai/api/badge/{user}/{repo}
Returns a Shields.io-compatible JSON object for rendering dynamic trust badges. See Badge Guide for full setup instructions.
Example
curl https://audit-engine.oathe.ai/api/badge/user/repo
Response 200 (Scanned)
{
"schemaVersion": 1,
"label": "oathe",
"message": "85/100 SAFE",
"color": "brightgreen"
}
Response 200 (Not Scanned)
{
"schemaVersion": 1,
"label": "oathe",
"message": "not scanned",
"color": "lightgrey"
}
Badge Colors
SAFE
brightgreen
Trust score 80–100.
CAUTION
yellow
Trust score 50–79.
DANGEROUS
orange
Trust score 20–49.
MALICIOUS
red
Trust score 0–19.
Not scanned
lightgrey
No audit exists for this skill.
Embedding the Badge
Markdown:

HTML:
<a href="https://oathe.ai">
<img src="https://img.shields.io/endpoint?url=https://audit-engine.oathe.ai/api/badge/user/repo" alt="Oathe Security" />
</a>
Replace
user/repo with your GitHub or ClawHub slug.