{"uid":"cap_3KMkTD2Fd_AB17hwRHQqE","slug":"github-repository-health-check-2a047b99","name":"GitHub Repository Health Check","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/software/github-repository-health","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"],"type":"string"},"queryParams":{"type":"object","required":["owner","repo"],"properties":{"repo":{"type":"string","pattern":"^[A-Za-z0-9._-]{1,100}$","description":"Public GitHub repository name."},"owner":{"type":"string","pattern":"^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?$","description":"GitHub repository owner or organization."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"github-repository-health","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D96_KxjOFnqvDMk1fFUpI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Assesses a public GitHub repository's health, activity, identity, and risk level, returning a structured safety assessment with risk score and flags.","exampleAgentPrompt":"Can you check the health and safety of the GitHub repo 'openai/openai-python' — I want to know the risk score, any flags, and whether it looks trustworthy before I use it?","exampleUseCases":null,"resultDescription":"A JSON object containing the product name, network (eip155:8453), an assessment with risk_level (e.g. 'low'), a numeric risk_score, and a list of flags. May also include activity, identity, and provenance sub-objects describing the repository's characteristics.","failureModes":["Repository not found or is private — returns error indicating inaccessible repo","Invalid owner or repo name format not matching required pattern — returns validation error","GitHub API rate limiting or downtime causing upstream failures","Payment not received or insufficient USDC — returns 402 Payment Required","Network or worker timeout for slow repository lookups"],"whenToPreferThis":"Use this endpoint when you need a structured, machine-readable safety assessment of a public GitHub repository before consuming it as a dependency, integrating it into a pipeline, or trusting code from it. Prefer this over manual GitHub inspection when you need a risk score and flags in a standardized format suitable for automated agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:55:55.382Z","isFirstParty":false}