{"uid":"cap_PsZ8jGDs0kX66U-KcOFJ1","slug":"alloy-measurements-record-sequence-diff-45bf86a0","name":"Alloy Measurements - Record Sequence Diff","description":"Separate record changes from shared-record reordering; inserting or deleting a record does not itself reorder surviving records for alloy lot/method/composition-basis Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/compute/alloy-measurements/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.035194","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.035194/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035194","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035194","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9ZwGGdxXeFMXH3aHGAd5Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035194","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Separates true record insertions/deletions from shared-record reordering in alloy measurement datasets, preserving sequence integrity without conflating order changes with content changes.","exampleAgentPrompt":"Compare these two lists of alloy measurement records — the before snapshot has 12 records and the after snapshot has 14 — and tell me which records were actually inserted or deleted versus which ones just moved positions; the data is synthetic.","exampleUseCases":[{"title":"Audit alloy lot dataset version changes","prompt":"I have two snapshots of our alloy lot measurement records from last week and this week, each up to 30 entries. Can you tell me which records were genuinely added or removed versus which ones just got reordered? The data is synthetic."},{"title":"Validate composition-basis record integrity","prompt":"We updated our alloy composition-basis dataset and I need to confirm that no existing measurement records were silently deleted — just compare these before and after arrays and flag any true removals separate from any reordering. Data class is public."},{"title":"Detect method record insertions in sequence","prompt":"Our pipeline appended new alloy method records to a sequence and I want to confirm only insertions happened — no deletions, no reordering of surviving records. Can you diff the before and after arrays and classify the changes? Data is synthetic."}],"resultDescription":"A structured breakdown distinguishing actual record insertions and deletions from positional reorderings, so that surviving records can be confirmed unchanged in content even if their sequence index shifted.","failureModes":["Array exceeds 32-item limit per side — request rejected","dataClass not one of 'public' or 'synthetic' — validation error","nonpersonalMetadata not set to true — request rejected","Malformed array items — schema validation failure","Network timeout for large but valid payloads"],"whenToPreferThis":"Use this endpoint when you need to audit two sequential snapshots of alloy measurement records and must distinguish genuine insertions/deletions from reordering of surviving records. Prefer this over generic diff tools when working with alloy lot, method, or composition-basis supplied-record datasets where positional drift must not be conflated with content change.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T00:52:01.446Z","isFirstParty":false,"canonicalSlug":"alloy-measurements-record-sequence-diff-45bf86a0"}