{"uid":"cap_1fB_l8y4kMZXn9UPrHSlM","slug":"yuki-opportunity-intel-api-reliability-check-d45a8b4b","name":"Yuki Opportunity Intel – API Reliability Check","description":"Decision APIs for agents: paid-work START/WAIT/REJECT triage and x402/API discoverability checks.","url":"https://yuki-opportunity-intel.happy-porter.workers.dev/v1/api-reliability?utm_source=zero.xyz","method":"POST","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":["POST"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"method":{"enum":["GET","HEAD","POST"],"type":"string","default":"GET"},"request_body":{"type":"object"},"check_openapi":{"type":"boolean","default":true},"expected_text":{"type":"string","maxLength":200},"expected_status":{"type":"integer","default":200,"maximum":599,"minimum":100}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["verdict","checked_at","request","response","discovery","findings","next_checks"],"properties":{"request":{"type":"object"},"verdict":{"enum":["pass","caution","fail"],"type":"string"},"findings":{"type":"array","items":{"type":"string"}},"response":{"type":"object"},"discovery":{"type":"object"},"checked_at":{"type":"string"},"next_checks":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":{"type":"json","example":{"request":{"url":"https://yuki-opportunity-intel.happy-porter.workers.dev/health","method":"GET","expected_status":200},"verdict":"pass","findings":[],"response":{"ok":true,"status":200,"headers":{"content-type":"application/json"},"final_url":"https://yuki-opportunity-intel.happy-porter.workers.dev/health","latency_ms":120,"body_sample":"{\"ok\":true}","expected_text_match":null},"discovery":{"url":"https://yuki-opportunity-intel.happy-porter.workers.dev/openapi.json","status":200,"checked":true,"valid_json":true,"documented_paths":5,"target_path_documented":true},"checked_at":"2026-07-17T00:00:00Z","next_checks":["Preserve this request as a regression probe and monitor latency/status over time."]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WJTgERz2pua8RNUQIeOmJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Probes a target HTTP endpoint for reachability, correct status, expected response content, and x402/OpenAPI discoverability, returning a pass/caution/fail verdict with findings and suggested follow-up checks.","exampleAgentPrompt":"Can you probe https://payments.example.com/charge with a GET request, expect a 200 status, and check whether it has a valid OpenAPI spec — I want a pass/caution/fail verdict before I wire it into my workflow.","exampleUseCases":[{"title":"Pre-flight check before agent integration","prompt":"Before I add this new data vendor's endpoint (https://api.datavendor.io/v1/prices) to my agent pipeline, can you probe it with a GET request expecting a 200 status and confirm it has a valid OpenAPI spec? I need to know if it's actually reliable."},{"title":"x402 payment API discoverability audit","prompt":"I found this API at https://marketplace.example.com/v1/jobs — can you check whether it's x402-compatible, has an OpenAPI spec, and is returning 200s? Give me a pass or fail verdict so I know if it's worth paying for."},{"title":"Regression check on a deployed service","prompt":"Can you verify that https://yuki-opportunity-intel.happy-porter.workers.dev/health is still returning 200 and the body contains 'ok' — I want findings and any follow-up checks I should run to monitor it over time."}],"resultDescription":"A JSON object with a top-level verdict ('pass', 'caution', or 'fail'), a list of findings (issues discovered), detailed response metadata (status code, latency in ms, headers, body sample, content-type, final URL after redirects), a discovery object showing whether an OpenAPI spec was found and how many paths it documents, the timestamp of the check, and a next_checks array of recommended follow-up actions.","failureModes":["Target URL unreachable or DNS failure — verdict 'fail' with network error finding","Unexpected HTTP status code — verdict 'caution' or 'fail' with status mismatch finding","Expected text not found in response body — verdict 'caution' with text-match finding","OpenAPI spec missing or invalid JSON — discovery.valid_json false, caution finding","Input missing required 'url' query param — 400 validation error","Target URL returns a redirect loop — fail verdict with redirect finding"],"whenToPreferThis":"Use this endpoint when you need a structured, agent-readable verdict on whether a specific HTTP API is reachable, returns the right status and content, and is discoverable via OpenAPI or x402 — especially before wiring an unknown or paid API into an agentic workflow. Prefer it over raw HTTP fetches when you want parsed findings, latency data, and OpenAPI discovery in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:31:24.248Z","isFirstParty":false,"canonicalSlug":"yuki-opportunity-intel-api-reliability-check-d45a8b4b"}