{"uid":"cap_IH2YnxwXg19frUo4qUsW0","slug":"contract-amendments-record-sequence-diff-2b9299cf","name":"Contract Amendments — Record Sequence Diff","description":"Compare supplied amendment revision sequences by identity, effective-time declarations and relative order among shared records. Added entries do not by themselves imply reordering; no legal precedence inference. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/context/contract-amendments/record-sequence-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"array","maxItems":32,"minItems":0},"before":{"type":"array","maxItems":32,"minItems":0},"dataClass":{"enum":["public","synthetic"],"type":"string"},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035026","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.035026/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035026","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035026","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B6G5-dwzjVv_Kz9o5zqLK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035026","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two ordered sequences of contract amendment records, detecting identity differences, effective-time declaration changes, and relative reordering among shared records without inferring legal precedence.","exampleAgentPrompt":"Compare these two contract amendment sequences — here's the before list and here's the after list — and tell me which records changed identity or effective-time declarations, and whether any shared records were reordered. Mark the data class as public.","exampleUseCases":[{"title":"Amendment revision audit between drafts","prompt":"I have two versions of our contract amendment schedule — the original sequence and the revised one — can you diff them to show me which amendment records changed their effective dates or got reordered? Data class is public."},{"title":"Detecting silent reordering in signed amendments","prompt":"We just received an updated amendment list from the counterparty. Can you compare it against our original sequence and flag any shared records that appear in a different order, plus any identity mismatches? Use public data class."},{"title":"Synthetic test data amendment validation","prompt":"I'm testing our amendment pipeline with synthetic data. Can you run a sequence diff between these before and after amendment arrays — both up to 20 records — and confirm which entries shifted position or have different effective-time declarations? Data class is synthetic."}],"resultDescription":"Returns a structured diff report identifying: records present only in the before or after sequence (additions/removals), records whose identity or effective-time declarations changed, and records shared between sequences that appear in a different relative order. Does not infer legal precedence. Results are retained for 24 hours; minimal receipt metadata retained for 90 days.","failureModes":["Input arrays exceeding 32 items return a validation error","nonpersonalMetadata must be set to true — omission or false value will be rejected","Invalid dataClass value (anything other than 'public' or 'synthetic') causes a schema error","Empty before and after arrays with no shared records may return a trivially empty diff","Stale results beyond 24-hour retention window are no longer accessible"],"whenToPreferThis":"Choose this endpoint when you need a precise, offline structural comparison of two ordered contract amendment sequences — specifically to detect identity shifts, effective-time declaration changes, and reordering among shared records — without needing legal precedence inference or persistent storage. Ideal for compliance auditing, contract pipeline validation, and amendment version control workflows where data must be classified as public or synthetic and personally identifiable information is absent.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:25.628Z","isFirstParty":false,"canonicalSlug":"contract-amendments-record-sequence-diff-2b9299cf"}