{"uid":"cap_wgKfGWn0BD11XlcosBduj","slug":"provenance-manifests-record-sequence-diff-1604e964","name":"Provenance Manifests - Record Sequence Diff","description":"Separate record changes from shared-record reordering; inserting or deleting a record does not itself reorder surviving records for caller-supplied artifact and dataset provenance manifests. No source download, build reproduction, signature verification, proof of origin, causality or scientific validity. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/verify/provenance-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.035116","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.035116/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035116","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035116","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U6a1olIB3EF3bwGYxkP4V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035116","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects which records were inserted or deleted between two provenance manifest snapshots without conflating those changes with record reordering.","exampleAgentPrompt":"Can you diff these two provenance manifest snapshots and tell me exactly which records were inserted or deleted — treating this as public, nonpersonal metadata? The before list has up to 32 records and I need the result to cleanly separate insertions and deletions from any reordering.","exampleUseCases":[{"title":"Audit artifact manifest record changes","prompt":"I have two snapshots of a provenance manifest for a software artifact — the before state had 18 records and the after state has 21. Can you tell me which specific records were inserted or deleted, using public data class and nonpersonal metadata, without treating reordered entries as changes?"},{"title":"Dataset lineage insertion tracking","prompt":"My dataset provenance manifest changed between two pipeline runs. Here are the before and after record arrays — both are synthetic nonpersonal metadata. Can you compute the diff and show me only the records that were newly inserted or removed, ignoring any reordering of surviving entries?"},{"title":"Compliance check on manifest modifications","prompt":"For a compliance review, I need to know exactly which records were added or dropped between two versions of our provenance manifest. The data class is public and all fields are nonpersonal metadata — please separate pure insertions and deletions from sequence shifts."}],"resultDescription":"Returns a structured diff identifying which records appear only in the 'before' array (deletions) and which appear only in the 'after' array (insertions), explicitly separated from any reordering of records that survived in both snapshots. Results are retained for 24 hours; minimal receipt metadata is retained for 90 days.","failureModes":["Array exceeds 32-item limit — request rejected with validation error","nonpersonalMetadata not set to true — request rejected","dataClass not one of 'public' or 'synthetic' — enum validation failure","Malformed or non-array input for before/after fields — schema validation error","Result expired after 24-hour retention window — result no longer retrievable"],"whenToPreferThis":"Choose this endpoint when you need to cleanly distinguish record insertions and deletions from record reordering in a provenance manifest, specifically for caller-supplied artifact or dataset metadata. It is the right choice when your manifest arrays are bounded (up to 32 items), the data is nonpersonal typed metadata classified as public or synthetic, and you need only the structural diff without source download, signature verification, or build reproduction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:21.778Z","isFirstParty":false,"canonicalSlug":"provenance-manifests-record-sequence-diff-1604e964"}