{"uid":"cap_2oB_DaGMUY9G8P3RLW1g9","slug":"protein-measurements-record-sequence-diff-7e386c73","name":"Protein Measurements Record Sequence Diff","description":"Separate record changes from shared-record reordering; inserting or deleting a record does not itself reorder surviving records for protein/isoform/sequence-pinned measurement Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/compute/protein-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.035158","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.035158/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035158","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035158","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1HC_qIOdlaF--ah_ab4GL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035158","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the difference between two ordered sequences of protein/isoform/sequence-pinned measurement records, isolating true record insertions and deletions from reordering effects.","exampleAgentPrompt":"I have two snapshots of a protein measurement dataset — the before array has up to 32 records and so does the after — can you run a record sequence diff on them using the 'public' data class to show me exactly which records were inserted or deleted, separate from any reordering?","exampleUseCases":[{"title":"Protein dataset version audit","prompt":"I've got two versions of a protein isoform measurement dataset — one from before our pipeline update and one after. Both are public data and have no personal metadata. Can you diff them to find which measurement records were genuinely added or removed, not just reordered?"},{"title":"Synthetic benchmark record change detection","prompt":"I'm running a synthetic protein measurement benchmark and want to compare my before and after arrays (each under 32 entries) to see exactly which records are new insertions or deletions — mark dataClass as synthetic and nonpersonalMetadata true."},{"title":"Sequence-pinned measurement integrity check","prompt":"Before submitting our protein sequence measurement report, can you compare the before and after record lists to confirm only the expected entries were inserted or deleted, without confusing reordering for actual record changes? Data class is public and there's no personal metadata involved."}],"resultDescription":"Returns a structured diff indicating which records were inserted and which were deleted between the before and after arrays, explicitly separated from any reordering of surviving records — enabling precise audit of protein/isoform/sequence-pinned measurement changes.","failureModes":["Array exceeds 32 items — returns validation error","Missing required nonpersonalMetadata:true field — request rejected","Invalid dataClass value outside enum — schema validation failure","Empty before and after arrays — returns empty diff with no changes","Malformed array entries inconsistent with protein measurement schema — may return partial or error response"],"whenToPreferThis":"Use this endpoint when you need to precisely distinguish genuine record insertions and deletions from positional reordering within protein, isoform, or sequence-pinned measurement datasets. It is purpose-built for supplied-record analysis (not independent certification), making it appropriate for audit, versioning, and pipeline validation workflows where up to 32 records are compared per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:21.774Z","isFirstParty":false,"canonicalSlug":"protein-measurements-record-sequence-diff-7e386c73"}