{"uid":"cap_n7JSfw_JinfOsVATN78gm","slug":"recovery-manifests-record-sequence-diff-1d4071b9","name":"Recovery Manifests — Record Sequence Diff","description":"Compare revision-pinned recovery projections and the relative order of shared manifests. Insertions are separate from reordering; no purchase or store mutation. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/verify/recovery-manifests/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.035086","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.035086/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035086","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035086","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Kyjy4yEi0Q1RI5QbdHsBp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035086","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two ordered lists of revision-pinned recovery manifest digests to identify reorderings and insertions of shared manifests, without any store mutation.","exampleAgentPrompt":"Can you diff these two ordered recovery manifest lists — the 'before' array is ['rev-001','rev-003','rev-002'] and the 'after' array is ['rev-001','rev-002','rev-003','rev-004'] — using public data class, and tell me which manifests were reordered versus which were newly inserted?","exampleUseCases":[{"title":"Audit manifest reordering after deployment","prompt":"I have two snapshots of our recovery manifest sequence from before and after last night's deployment — can you compare them and tell me which manifests got reordered versus which ones are brand new insertions? The before list is ['m-10','m-20','m-30'] and the after list is ['m-10','m-30','m-20','m-40'], using synthetic data class."},{"title":"Validate manifest order in CI pipeline","prompt":"As part of our CI check, compare these two recovery manifest arrays and flag any sequence differences — before: ['alpha','beta','gamma'] and after: ['alpha','gamma','beta'], data class public — I need to know if anything was just reordered or actually added."},{"title":"Incident investigation of manifest drift","prompt":"We suspect someone rearranged our recovery manifests between revision snapshots — can you run a sequence diff on the before array ['snap-A','snap-B','snap-C','snap-D'] and the after array ['snap-A','snap-C','snap-B','snap-D','snap-E'] with public data class to confirm what changed?"}],"resultDescription":"Returns a structured diff indicating which manifests appear in both the before and after arrays with changed relative positions (reorderings) versus which appear only in the after array (insertions), without modifying any stored state. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days.","failureModes":["Array exceeds maxItems limit of 32 — returns validation error","nonpersonalMetadata not set to true — request rejected","Invalid dataClass value outside enum ['public','synthetic'] — schema validation failure","Empty or malformed array items — diff may return empty or partial results","Network timeout for large arrays near the 32-item limit"],"whenToPreferThis":"Choose this endpoint when you need to distinguish between manifest reorderings and pure insertions in recovery manifest sequences without any side effects or store mutations. It is purpose-built for revision-pinned recovery manifest comparison, making it more precise than generic diff utilities for this schema. Best suited for audit, CI validation, or incident investigation workflows where offline, nonpersonal metadata comparison of up to 32 manifests is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:11.354Z","isFirstParty":false,"canonicalSlug":"recovery-manifests-record-sequence-diff-1d4071b9"}