public-scan

Scan Badge

Return an SVG badge for README embedding.

style picks the look from the shared badge design system (src.api.badge_avow): compact (default) is the 20px README badge with the trust and adoption meters; card is the website-embed card as an image; classic is the previous shields-style pill. theme (auto / light / dark) pins the colours; auto follows the viewer's colour scheme. metric=adoption keeps the adoption-only classic badge.

metric=trust (default) shows the signed grade — the composite trust score when the repo is imported ("Trust: A 92"), else the security scan ("Scan: B 74"). metric=adoption shows the real adoption headline ("Adopted: 22.6k ★"), or "new" when there's no independent-reliance signal yet.

Usage in markdown:

![Trust](https://agentavow.com/api/v1/public/scan/owner/repo/badge)
![Adoption](https://agentavow.com/api/v1/public/scan/owner/repo/badge?metric=adoption)
get/api/v1/public/scan/{owner}/{repo}/badge

Request

  • Base URL: https://agentavow.com (the document declares no server; this is the origin it was published from)
  • URL: https://agentavow.com/api/v1/public/scan/{owner}/{repo}/badge
  • Auth: none declared

Path parameters

ownerstring required
repostring required

Query parameters

metricstring
stylestring
themestring

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.