{"uid":"cap_x2-zOLpR74V7iUJS3uCTd","slug":"policy-excerpts-revision-delta-map-f1e15b62","name":"Policy Excerpts — Revision Delta Map","description":"Identify exact source/clause identifiers, jurisdiction, scope and effective-time changes between two pinned policy revisions. A changed revision digest is not interpreted as a changed legal obligation. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/context/policy-excerpts/revision-delta-map?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object"},"before":{"type":"object"},"dataClass":{"enum":["public","synthetic"],"type":"string"},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.021293","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.021293/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.021293","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.021293","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4pZVAgi575Z9qYzAcKqwf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.021293","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Identifies and maps changes between two pinned policy revisions, surfacing differences in clause identifiers, jurisdiction, scope, and effective-time metadata.","exampleAgentPrompt":"Compare these two pinned policy revisions — the 'before' and 'after' snapshots — and tell me exactly which clause identifiers, jurisdictions, scope definitions, or effective dates changed between them. Both datasets are public and non-personal.","exampleUseCases":[{"title":"Regulatory update compliance audit","prompt":"I have two versions of our data protection policy — the one we had pinned last quarter and the new revision we just approved. Can you diff them and tell me which specific clauses changed, whether the jurisdiction scope shifted, and if any effective dates are different? Both are public metadata."},{"title":"Legal team policy change review","prompt":"Our legal team needs to know exactly what changed between policy revision A and revision B before we publish — specifically any changes to clause identifiers, scope definitions, or effective-time fields. Can you run a delta map on these two revision objects? Data class is public and it's all non-personal metadata."},{"title":"Automated policy versioning pipeline","prompt":"As part of our policy versioning workflow, I need to automatically detect structural changes — like jurisdiction shifts, scope updates, or effective-date changes — between each new policy draft and the last pinned revision. Can you map the delta between these two revision snapshots? Both are synthetic test data and non-personal."}],"resultDescription":"A structured delta map highlighting exact differences between two pinned policy revisions, including changed clause identifiers, jurisdiction modifications, scope alterations, and effective-time changes. Does not interpret legal obligations — strictly metadata-level comparison. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days.","failureModes":["Missing or malformed 'before' or 'after' revision objects returns a validation error","Providing personal data when nonpersonalMetadata must be true will be rejected","Invalid or unsupported dataClass value outside 'public' or 'synthetic' enum causes a 400 error","Providing non-pinned or unparseable revision objects may result in incomplete delta output","Results expire after 24 hours and are no longer retrievable"],"whenToPreferThis":"Choose this endpoint when you need a precise, metadata-level diff between two specific pinned policy revision snapshots — particularly when you care about clause-level identifiers, jurisdiction, scope, and effective-time fields rather than full text analysis. It is purpose-built for offline, non-personal, typed metadata comparison and is not suitable for interpreting legal obligations or processing personal data. Prefer it over general-purpose document diff tools when working with structured policy revision objects in a compliance or governance pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:01.166Z","isFirstParty":false,"canonicalSlug":"policy-excerpts-revision-delta-map-f1e15b62"}