{"openapi":"3.1.0","info":{"title":"x402 Repo Health API","version":"2.0.0","description":"Pay-per-call GitHub repo maintenance/abandonment health score.","x-guidance":"Use GET /repo-health/{owner}/{repo} for a computed maintenance verdict (score + reasoning) from live GitHub data. You are charged only for a real verdict — a non-existent repo, a GitHub outage, or a rate-limit all return an error status and cost nothing.","x-payment-policy":"NEVER CHARGED FOR AN UNDELIVERABLE ANSWER. The x402 middleware cancels settlement for any response >= 400, so every error below moves $0.00 and emits no payment-response header."},"paths":{"/repo-health/{owner}/{repo}":{"get":{"operationId":"repoHealth","summary":"GitHub repo health verdict","tags":["Dev Tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"owner","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Repo health verdict computed over live GitHub data. The only response you are charged for."},"400":{"description":"NOT CHARGED. owner and repo are not valid GitHub path segments."},"402":{"description":"Payment Required"},"404":{"description":"NOT CHARGED. GitHub has no such repo, so there is no health verdict to compute. Do not retry."},"405":{"description":"NOT CHARGED. Wrong HTTP verb for this resource; see the Allow header."},"429":{"description":"NOT CHARGED. GitHub rate limit exhausted for this service's IP, so the data could not be fetched. Retry after `rateLimitResetAt`."},"500":{"description":"NOT CHARGED. Unexpected internal error computing the verdict."},"502":{"description":"NOT CHARGED. GitHub did not answer, so no verdict could be computed. Retryable."}}}}}}