{"uid":"cap_59Lqywl6-yUPS2ERPPXjk","slug":"optical-measurements-record-sequence-diff-43a1ed72","name":"Optical Measurements - Record Sequence Diff","description":"Separate record changes from shared-record reordering; inserting or deleting a record does not itself reorder surviving records for optical geometry/calibration/lot/method-pinned Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/compute/optical-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.035212","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.035212/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035212","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035212","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UT77wXIRjokheR7hBaxC5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035212","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects true record insertions and deletions in optical measurement datasets by separating structural record changes from mere reordering of surviving records.","exampleAgentPrompt":"I have two versions of an optical calibration record list — the before list has 5 records and the after list has 6 records — both classified as synthetic data. Can you diff them to tell me which records were genuinely inserted or deleted versus just reordered?","exampleUseCases":[{"title":"Optical calibration dataset version audit","prompt":"We have a before snapshot and an after snapshot of our optical geometry calibration records — both are synthetic data — and I need to know which records were actually added or removed, not just shuffled around. Can you run the sequence diff for me?"},{"title":"Lot-pinned record change detection","prompt":"Between our two optical lot record exports — before and after a recent update — I want to confirm whether any records were deleted or if the differences are just ordering changes. Treat this as synthetic public data and flag any true insertions or deletions."},{"title":"Method-pinned record integrity check","prompt":"I'm reviewing two versions of an optical method record list to make sure no records were silently dropped. The before array has 8 entries and the after array has 7 — can you diff them as synthetic data and tell me which record was deleted versus just moved?"}],"resultDescription":"Returns a structured diff identifying records that were inserted (present in 'after' but not 'before') and records that were deleted (present in 'before' but not 'after'), explicitly separated from reordering of surviving records, for supplied optical measurement record sequences.","failureModes":["Array exceeds 32 items — request rejected with validation error","nonpersonalMetadata not set to true — schema validation fails","dataClass not one of 'public' or 'synthetic' — enum validation error","Empty or malformed array items — may produce empty or unexpected diff output","Network or payment failure via x402 protocol — request not processed"],"whenToPreferThis":"Choose this endpoint when you need to distinguish genuine record insertions and deletions from mere reordering within optical measurement, calibration, geometry, or lot/method-pinned record sets. It is specifically designed for supplied-record analysis of optical domain data (not thermal, spectrometry, or terrain), and is ideal when record identity must be preserved across sequence changes and the analysis is on caller-supplied synthetic or public data rather than live certified measurements.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:23.499Z","isFirstParty":false,"canonicalSlug":"optical-measurements-record-sequence-diff-43a1ed72"}