{"uid":"cap_4gWSI_YUTHuol33kxAne8","slug":"revenue-agent-openapi-drift-detector-743123bb","name":"Revenue Agent – OpenAPI Drift Detector","description":"Use to detect breaking changes and API drift in a public OpenAPI/Swagger spec (JSON or YAML URL). Compares the spec with the service's last stored snapshot of that URL (first check records the baseline) and returns a deterministic JSON change report plus a Markdown summary. 0.10 USDC per completed analysis.","url":"https://agent.prh.news/v1/check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://","description":"Public OpenAPI/Swagger JSON or YAML URL. Structural oneOf/anyOf and local references are supported; not and external references are rejected. Credentials and query strings are rejected; redirects and resolved addresses must remain public."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_QHmIJSy8AlYNkzEDkRPd_","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":"Detects breaking changes and API drift in a public OpenAPI/Swagger spec by comparing it against the last stored snapshot and returning a JSON change report plus Markdown summary.","exampleAgentPrompt":"Check https://api.myservice.com/openapi.json for any breaking changes or API drift compared to the last snapshot — give me a full change report.","exampleUseCases":[{"title":"CI gate for API breaking changes","prompt":"Before I merge this PR, check https://api.myservice.com/openapi.yaml for breaking changes against the last recorded snapshot and tell me if anything is incompatible."},{"title":"Weekly API drift monitoring","prompt":"Run a drift check on https://petstore.swagger.io/v2/swagger.json and give me a Markdown summary of everything that changed since the baseline was recorded."},{"title":"First-time API spec baseline","prompt":"I want to start tracking my API for drift — can you run an initial snapshot on https://api.example.com/v1/openapi.json so I have a baseline to compare against going forward?"}],"resultDescription":"A deterministic JSON change report listing all detected additions, removals, modifications, and breaking changes between the current spec and the stored snapshot, plus a human-readable Markdown summary. On the first call for a given URL, the spec is recorded as the baseline and the report indicates no prior version to compare against.","failureModes":["URL is not publicly accessible or requires authentication — returns error indicating inaccessible spec","URL does not point to a valid OpenAPI/Swagger JSON or YAML document — returns parse error","Network timeout fetching the remote spec URL — returns fetch failure","Payment not completed (x402 protocol) — request not processed","Invalid URL format or query string included — returns validation error"],"whenToPreferThis":"Choose this endpoint when you need deterministic, structured change detection between two versions of a public OpenAPI or Swagger spec without maintaining your own diffing infrastructure. It is ideal for CI/CD pipelines, automated API governance workflows, or scheduled monitoring jobs where a canonical JSON diff and Markdown summary are required. Prefer it over manual diff tools when you want automatic baseline management — the first call records the snapshot so subsequent calls always compare against the last known state.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T00:31:12.275Z","isFirstParty":false,"canonicalSlug":"revenue-agent-openapi-drift-detector-743123bb"}