{"uid":"cap_rjyq41ETYkVn8ibb1eJyi","slug":"signaldesk-ai-json-diff-4584a6bb","name":"SignalDesk AI JSON Diff","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/json/diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"description":"JSON value; bounded structure."},"before":{"description":"JSON value; bounded structure."}}},"responseSchema":{"type":"json","example":{"patch":[{"op":"remove","path":"/b"},{"op":"replace","path":"/a","value":3},{"op":"add","path":"/c","value":4}]}},"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_h-udqeE1NH2DqWsgBECFf","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":"Computes a JSON Patch (RFC 6902) diff between two JSON values, returning the sequence of add/replace/remove operations needed to transform 'before' into 'after'","exampleAgentPrompt":"Compare these two JSON objects and give me the patch operations needed to go from the old version to the new one — before is {\"a\":1,\"b\":2} and after is {\"a\":3,\"c\":4}.","exampleUseCases":[{"title":"Config drift detection between deployments","prompt":"I have two versions of a service config — the old one is {\"timeout\":30,\"retries\":3,\"debug\":true} and the new one is {\"timeout\":60,\"retries\":3}. What patch operations describe the changes?"},{"title":"API response change tracking","prompt":"My API returned {\"status\":\"pending\",\"count\":5} yesterday and today it returns {\"status\":\"done\",\"count\":7,\"result\":\"ok\"} — can you show me exactly what changed as a JSON patch?"},{"title":"Schema migration diff for feature flag update","prompt":"I need to know the diff between my old feature flags JSON {\"flagA\":false,\"flagB\":true} and the updated one {\"flagA\":true,\"flagC\":false} — give me the RFC 6902 patch operations."}],"resultDescription":"A JSON object with a 'patch' array containing RFC 6902 patch operation objects, each with an 'op' field (add, remove, or replace), a 'path' field (JSON Pointer string), and optionally a 'value' field for add/replace operations. The patch fully describes how to transform the 'before' JSON into the 'after' JSON.","failureModes":["Malformed or non-JSON input for 'before' or 'after' fields returns an error","Overly large or deeply nested JSON structures may be rejected due to bounded execution limits","Missing required fields ('before' or 'after') results in a validation error","Payment not provided or insufficient USDC causes a 402 Payment Required response","Cloudflare Worker cold start or quota exhaustion may cause transient 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call JSON diff computation without running your own server — especially useful for agents performing change detection, config audits, or migration planning where you need RFC 6902-compliant patch arrays. Prefer it over local libraries when operating in serverless or sandboxed environments without native JSON patch support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:58.045Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-json-diff-4584a6bb"}