{"uid":"cap_F_-oMg8B97rA3zp6TxrhZ","slug":"forest-infra-github-repository-preflight-f7c79769","name":"Forest Infra – GitHub Repository Preflight","description":"Resolve the current public GitHub repository state without cloning or customer OAuth. Archived, fork, branch and license fields reflect only public API facts; private repositories are unsupported. Base mainnet USDC","url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/repo/preflight?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"repository":{"type":"string","pattern":"^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$","maxLength":200,"description":"Public owner/name repository to inspect."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sZTX2AckEn3FtX_PvZ4Yi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves the current public state of a GitHub repository (archived, fork, branch, license, etc.) using only the public GitHub API — no cloning or OAuth required.","exampleAgentPrompt":"Can you check the public GitHub repo state for 'vercel/next.js' — specifically whether it's archived, if it's a fork, what the default branch is, and what license it uses?","exampleUseCases":[{"title":"Pre-integration repo health check","prompt":"Before we add 'huggingface/transformers' as a dependency, can you check its GitHub repo to confirm it's not archived, what the default branch is, and what license it's under?"},{"title":"Detecting forked or stale open source projects","prompt":"I want to know if the GitHub repo 'google/guava' is a fork of something else, and whether it's been archived or is still actively maintained — can you pull that info for me?"},{"title":"Automated license compliance check","prompt":"For the repo 'facebook/react', what license does GitHub report for it? I need to confirm it's compatible with our project before we proceed."}],"resultDescription":"A structured object describing the current public state of the specified GitHub repository, including fields such as archived status, whether it is a fork, the default branch name, and license information — all sourced directly from the public GitHub API without requiring OAuth or repository cloning.","failureModes":["Repository not found or does not exist returns an error (private or non-existent repos are unsupported)","Malformed owner/name string rejected by input pattern validation","GitHub API rate limiting may cause transient failures","Private repositories always fail — only public repos are supported"],"whenToPreferThis":"Choose this endpoint when you need a fast, lightweight inspection of a public GitHub repository's metadata (archived state, fork status, default branch, license) without needing to clone the repo or authenticate with OAuth. It is ideal for pre-integration checks, license compliance validation, or automated pipelines that need to verify repo state before proceeding. Prefer it over full GitHub API calls when you only need these specific preflight fields and want a normalized, bounded response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:01:11.831Z","isFirstParty":false,"canonicalSlug":"forest-infra-github-repository-preflight-f7c79769"}