{"uid":"cap_FnobnoR9EeN9QhtgqVSzo","slug":"repo-compliance-scan-e3257291","name":"Repo Compliance Scan","description":"GitHub repository health + license compliance in one call: license, stars, maintenance status, red flags (archived, stale, missing license), reuse readiness score.","url":"https://k2so.wrong.systems/api/services/repo-compliance-scan","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"repo":{"type":"string","description":"Composite input parameter"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Repo Compliance Scan paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"score":{"type":"number"},"service":{"type":"string","description":"Service slug"},"summary":{"type":"string"},"evidence":{"type":"object"},"strengths":{"type":"array","items":{"type":"string"}},"confidence":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"riskFactors":{"type":"array","items":{"type":"string"}}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"service":"repo-compliance-scan"},"service":"repo-compliance-scan","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_35TYF3_i0CQ-V9_b4S1H7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans a GitHub repository and returns its license type, star count, maintenance status, reuse readiness score, and red flags like archived state, stale activity, or missing license in one call.","exampleAgentPrompt":"Can you do a compliance scan on the GitHub repo github.com/expressjs/express — I want to know its license, whether it's actively maintained, any red flags like being archived or missing a license, and its overall reuse readiness score?","exampleUseCases":[{"title":"Dependency vetting before adoption","prompt":"Before we add github.com/lodash/lodash as a dependency, can you scan it for license compliance, check if it's still actively maintained, and flag any red flags I should know about?"},{"title":"Open source audit for legal review","prompt":"I need a compliance report on github.com/facebook/react — specifically the license type, maintenance status, and any risk factors that our legal team should be aware of before we ship."},{"title":"OSS procurement scoring for an agent pipeline","prompt":"Score github.com/pydantic/pydantic for reuse readiness — I need its license, star count, whether it's archived or stale, and a summary I can drop into our vendor assessment doc."}],"resultDescription":"Returns a JSON object containing: a boolean success flag, a reuse readiness score (numeric), a plain-language summary, an evidence object with raw signals (license, stars, maintenance indicators), an array of strengths, an array of risk factors, a confidence level string, and an ISO-8601 timestamp of when the scan was generated.","failureModes":["Repository not found or URL malformed — scan returns ok:false with no result data","Repository is private and inaccessible — handler may return ok:false or empty evidence","Payment not processed — endpoint returns 402 Payment Required without result","Rate limiting or GitHub API upstream failure — scan may time out or return partial evidence","License file exists but is non-standard — may result in low confidence score rather than a clean license classification"],"whenToPreferThis":"Choose this endpoint when you need a single-call summary of a GitHub repository's license compliance, health, and reuse safety — especially during dependency evaluation, open source procurement, or legal due diligence workflows. It is preferable over raw GitHub API calls because it synthesizes multiple signals (license, stars, archival state, staleness, missing license) into a scored, human-readable result with risk flags, saving the agent multiple round trips and interpretation work.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:26:27.435Z","isFirstParty":false}