{"uid":"cap_ulMiMFbpM2-jnRiasGBy6","slug":"openapi-path-diff-lite-bf2a6ee3","name":"OpenAPI Path Diff Lite","description":"Diff path keys between two OpenAPI path maps. Call when detecting added/removed routes between specs. Returns added, removed, common_count as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/openapi-path-diff","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"paths_a":{"type":"object","description":"OpenAPI paths map A"},"paths_b":{"type":"object","description":"OpenAPI paths map B"}}},"responseSchema":{"type":"json","example":{"added":["/c"],"schema":"delx/util-openapi-path-diff/v1","removed":["/a"],"common_count":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jKwMtngmQWgpNfkZ99YZL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Diffs path keys between two OpenAPI path maps, returning added, removed, and common route counts as deterministic JSON.","exampleAgentPrompt":"Compare these two OpenAPI path maps and tell me which routes were added, which were removed, and how many are in common — here's paths_a with my old spec routes and paths_b with the new ones.","exampleUseCases":[{"title":"Detect new routes in API release","prompt":"I just published a new version of my API spec. Can you diff the path keys from my old spec against the new one and tell me exactly which routes were added and which were removed?"},{"title":"Audit deprecated endpoints before migration","prompt":"Before we migrate clients, I need to know which routes from our v1 OpenAPI spec no longer exist in v2. Can you compare these two path maps and list what's been removed?"},{"title":"Validate spec parity between environments","prompt":"Our staging and production OpenAPI specs might have drifted. Can you check these two path maps and tell me how many routes they share and whether anything is missing from either side?"}],"resultDescription":"A deterministic JSON object with three fields: 'added' (array of route paths present in paths_b but not paths_a), 'removed' (array of route paths present in paths_a but not paths_b), and 'common_count' (integer count of routes present in both maps).","failureModes":["Missing or malformed paths_a / paths_b objects result in a validation error","Non-object values for either paths map will be rejected","Payment not provided or rejected by x402 protocol returns a 402 response","Empty path maps produce empty added/removed arrays with common_count of 0"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, zero-dependency comparison of OpenAPI route keys — no API keys, no external calls, no storage side effects. Prefer it over full OpenAPI diff tools when you only care about path key changes (added/removed routes), not schema-level diffs, and when you want a cheap ($0.001 USDC), reproducible result suitable for CI pipelines or agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:02:24.141Z","isFirstParty":false}