# Identity Records - Record Sequence Diff

> Identity Records - Record Sequence Diff is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.03511/call, status unknown (last checked 2026-10-20).

Computes the difference between two ordered lists of public nonpersonal identity records, separating record insertions/deletions from reordering of surviving records.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/verify/identity-records/record-sequence-diff?utm_source=zero.xyz
- Price: $0.03511/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/identity-records-record-sequence-diff-ab259a6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SNkb8zA7c8sX4CfZyOF7r

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability identity-records-record-sequence-diff-ab259a6d -d '<json body>'
```

Example prompt: Compare these two ordered lists of public nonpersonal identity credential records — the before list has 5 entries and the after list has 6 — and tell me which records were actually inserted or deleted versus which ones just got reordered.

## When to prefer this

Use this endpoint when you need to precisely distinguish between record-level changes (insertions, deletions) and positional reordering within ordered sequences of public or synthetic nonpersonal identity/credential metadata records — particularly for offline, typed, nonpersonal agent credential declarations where no DID resolution, revocation lookup, or signature verification is needed.

## Known failure modes

- Array exceeds 32 items — request rejected
- nonpersonalMetadata not set to true — validation error
- dataClass not one of 'public' or 'synthetic' — enum validation failure
- Malformed array items — schema rejection
- Service unavailable — 5xx error

## How this service works

Separate record changes from shared-record reordering; inserting or deleting a record does not itself reorder surviving records for public nonpersonal agent credential declarations. No DID resolution, live revocation lookup, signature verification, person identification, key custody or identity certification. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.

## Output

A structured diff result that distinguishes record insertions and deletions from positional reordering of unchanged surviving records in the two submitted sequences. Full results are retained for 24 hours; minimal receipt metadata is retained for 90 days.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/identity-records-record-sequence-diff-ab259a6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
