{"uid":"cap_LkqAKh-Yvok_2F6LhNuh2","slug":"publication-records-record-sequence-diff-3f2ca27f","name":"Publication Records - Record Sequence Diff","description":"Separate record changes from shared-record reordering; inserting or deleting a record does not itself reorder surviving records for publisher/work/DOI/edition-pinned bibliographic Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/intel/publication-records/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.035266","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.035266/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035266","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035266","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1n9O8OVXXVPhca_hvPngP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035266","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 lists of publication records, isolating true record insertions/deletions from sequence reordering changes.","exampleAgentPrompt":"Can you diff these two publication record lists for me — the before list has records A, B, C and the after list has B, D, C — and tell me which records were actually inserted or deleted versus just reordered? Use public data class.","exampleUseCases":[{"title":"Detecting dropped DOI records on update","prompt":"I have a before and after snapshot of our journal's publication record list after a metadata update — can you figure out which records were genuinely deleted versus just shuffled around? The data is public and non-personal."},{"title":"Auditing edition-pinned bibliographic changes","prompt":"We updated our edition's record sequence and I need to know: did we actually add or remove any records, or did we just reorder existing ones? Here are the before and after lists — both synthetic data, non-personal metadata only."},{"title":"Validating publisher record integrity","prompt":"Before we push our updated publication list live, can you compare the old and new record sequences and confirm no records were inadvertently inserted or deleted — only reordered? Data class is public."}],"resultDescription":"A structured analysis separating true record insertions and deletions from sequence reordering events, so callers can distinguish whether surviving records were reordered versus whether actual records were added or removed between the before and after states.","failureModes":["Input arrays exceeding 32 items are rejected","Missing or invalid dataClass enum value causes validation error","nonpersonalMetadata must be true (const); any other value is rejected","Malformed or non-array before/after inputs return schema validation errors","Ambiguous record identity may produce uncertain diff results if records lack stable identifiers"],"whenToPreferThis":"Choose this endpoint when you need to cleanly separate record insertion/deletion events from simple reordering of surviving records in a bibliographic or publication context, particularly when working with publisher, work, DOI, or edition-pinned record lists of up to 32 entries. Prefer it over generic diff tools when the distinction between 'record was removed' and 'record was moved' is semantically important for downstream bibliographic integrity checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:35:27.751Z","isFirstParty":false,"canonicalSlug":"publication-records-record-sequence-diff-3f2ca27f"}