{"uid":"cap_5b0Mdzr2vhOiYn6VoSASC","slug":"ephemeris-snapshots-record-sequence-diff-ef3d69dc","name":"Ephemeris Snapshots - Record Sequence Diff","description":"Separate record changes from shared-record reordering; inserting or deleting a record does not itself reorder surviving records for target/centre/frame/time-scale/correction/kernel-pinned ephemeris Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/celestial/ephemeris-snapshots/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.035248","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.035248/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035248","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035248","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ntUX1bdj9uB5pnt9hw8Gw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035248","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two snapshots of ephemeris records to isolate true insertions and deletions from shared-record reordering across target, centre, frame, time-scale, correction, and kernel-pinned dimensions.","exampleAgentPrompt":"I have two lists of ephemeris records — a before snapshot with up to 30 entries and an after snapshot with 28 entries, both public data. Can you diff them to tell me which records were genuinely inserted or deleted versus just reordered among the surviving ones?","exampleUseCases":[{"title":"Planetary ephemeris change audit","prompt":"I updated my kernel-pinned ephemeris dataset overnight and now I have a before list of 25 records and an after list of 27 records, both tagged as public. Can you compare them and tell me exactly which records are new insertions versus which surviving records just shifted position?"},{"title":"Synthetic ephemeris simulation validation","prompt":"I'm running a simulation with synthetic ephemeris data. I have two record snapshots — the original 20-entry list and a revised 18-entry list — and I need to confirm whether the differences are actual deletions or just reordering artifacts. Please do a sequence diff on the synthetic records."},{"title":"Celestial frame change detection pipeline","prompt":"My pipeline produces ephemeris snapshots before and after a frame correction step. I've got a before array of 32 records and an after array of 30 records, both public and non-personal. Can you run a sequence diff to isolate which records were removed versus which just got reshuffled?"}],"resultDescription":"Returns a structured diff indicating which records in the 'after' snapshot are true insertions (not present in 'before'), which records were deleted (present in 'before' but absent in 'after'), and confirming that surviving records were reordered rather than changed — keeping insertions/deletions and reordering as distinct signals.","failureModes":["Array exceeds maxItems limit of 32 — reduce snapshot size","Missing or invalid dataClass enum value ('public' or 'synthetic' required)","nonpersonalMetadata not set to true (const:true constraint violated)","Empty before and after arrays produce trivially empty diff","Malformed record entries in arrays cause parsing failure","Ambiguous record identity fields may cause incorrect insert/delete attribution"],"whenToPreferThis":"Choose this endpoint when you need to cleanly separate genuine ephemeris record insertions and deletions from positional reordering of surviving records across two snapshots. It is specifically designed for kernel-pinned, time-scale, frame, and correction-aware ephemeris data — not general-purpose list diffing. Use it when your ephemeris pipeline produces before/after snapshots and you must audit structural changes without conflating sequence shuffling with true record additions or removals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:41.545Z","isFirstParty":false,"canonicalSlug":"ephemeris-snapshots-record-sequence-diff-ef3d69dc"}