{"uid":"cap_-Z9W1H4Mr06QLHSBq1w-U","slug":"contract-amendments-provenance-edge-audit-d8e52bbe","name":"Contract Amendments Provenance Edge Audit","description":"Validate declared amendment-to-source edges against supplied revision pins and tenant/contract boundaries. Reports stale or absent endpoints, not passage support, signatures or authenticity. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/context/contract-amendments/provenance-edge-audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"edges":{"type":"array","maxItems":32,"minItems":1},"sources":{"type":"array","maxItems":32,"minItems":0},"tenantId":{"type":"string"},"dataClass":{"enum":["public","synthetic"],"type":"string"},"amendments":{"type":"array","maxItems":32,"minItems":1},"contractId":{"type":"string"},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.045292","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.045292/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.045292","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.045292","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LSPQaRrk5Kt3uqh7hsOrd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.045292","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates declared amendment-to-source edges against revision pins and tenant/contract boundaries, reporting stale or absent endpoint links in contract amendment provenance graphs.","exampleAgentPrompt":"Audit the provenance edges for contract C-4892 under tenant T-221 — check whether the declared amendment-to-source links in these 3 amendments match their revision pins and flag any stale or missing endpoints; data class is synthetic.","exampleUseCases":[{"title":"Stale amendment source detection","prompt":"We have 5 amendments for contract ACME-2024-007 under tenant legal-ops-01 — can you check whether all their declared source edges still point to valid revision pins and tell me which ones are stale or missing? Data is synthetic."},{"title":"Tenant boundary integrity check","prompt":"For tenant procurement-us and contract ID PROC-9910, validate these amendment-to-source edges and make sure none of them cross tenant or contract boundaries — flag any that do. Use public data class."},{"title":"Pre-release provenance graph audit","prompt":"Before we finalize this contract amendment batch for contract ID FINOPS-332 under tenant finance-eu, run a provenance edge audit on all 8 amendments to confirm the source revision pins are properly linked and nothing is absent or stale; data class is synthetic."}],"resultDescription":"Returns a structured audit report identifying which declared amendment-to-source provenance edges are stale (revision pin mismatch) or absent (missing endpoints), scoped to the supplied tenant and contract boundaries. Does not validate document content, signatures, or authenticity — metadata linkage only. Results are retained for 24 hours; minimal receipt metadata is retained for 90 days.","failureModes":["Missing required fields (amendments or edges arrays empty) returns validation error","tenantId or contractId not supplied causes boundary scoping failure","dataClass not set to 'public' or 'synthetic' causes enum rejection","Exceeding 32 items in amendments, edges, or sources arrays returns limit exceeded error","nonpersonalMetadata not explicitly set to true causes request rejection","Stale revision pins may produce false positives if caller supplies outdated source lists"],"whenToPreferThis":"Choose this endpoint when you need to programmatically audit the structural integrity of amendment-to-source provenance edges in contract metadata — specifically to detect stale revision pins or absent source endpoints within strict tenant/contract boundaries. It is purpose-built for offline, typed, nonpersonal metadata validation (public or synthetic data classes only) and is not a substitute for signature verification, legal passage support, or document authenticity checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:32.312Z","isFirstParty":false,"canonicalSlug":"contract-amendments-provenance-edge-audit-d8e52bbe"}