# Maha Revision Lineage Check

> Maha Revision Lineage Check is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-14).

Validates a document revision's lineage by checking one initial or superseding transition against a declared predecessor, returning inconsistencies and an integrity receipt.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/revision-lineage-check
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maha-revision-lineage-check-ba854fb2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_alntvUOY865l67PDGVSv6

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 maha-revision-lineage-check-ba854fb2 -d '<json body>'
```

Example prompt: Check the revision lineage for object 'doc-policy-2024' where the previous revision has digest sha256:a3f1...c9 and predecessorDigest null with relation 'initial', and the next revision object is the updated policy body — I need to know if there are any lineage inconsistencies and get back an integrity receipt. Mark the dataClass as 'public'.

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic check of a single revision transition in a document lineage chain — especially when you need an auditable integrity receipt (receiptDigest) proving the check was performed. Prefer it over full document authenticity or semantic equivalence checks, as it is scoped strictly to predecessor-chain consistency. Best for compliance workflows, provenance auditing, and version control systems where SHA-256 digest chaining is used.

## Known failure modes

- Invalid objectId format (must match pattern ^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$) returns validation error
- revisionDigest or predecessorDigest not in sha256:<64 hex chars> format returns schema rejection
- relation not 'initial' or 'supersedes' returns enum validation error
- Missing required fields (dataClass, previous, next) returns 400-level error
- dataClass not 'public' or 'synthetic' returns schema error
- Supplying a non-null predecessorDigest when relation is 'initial' may trigger lineage inconsistency

## How this service works

Check a revision handoff before reusing evidence. Compare one initial or superseding transition with its declared predecessor; return lineage inconsistencies and an integrity receipt. Does not establish authenticity, semantic equivalence or inherited review approval.

## Output

Returns a structured object containing lineage inconsistencies found in the revision transition, an integrity receipt (receiptDigest), an inputDigest, a boundaries array (up to 128 items), the offerId ('revision-lineage-check'), version string, and amount charged in base units (5004). Does not confirm authenticity, semantic equivalence, or inherited review approvals.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "dataClass",
      "previous",
      "next"
     ],
     "properties": {
      "next": {
       "type": "object"
      },
      "previous": {
       "oneOf": [
        {
         "type": "object",
         "required": [
          "objectId",
          "revisionDigest",
          "predecessorDigest",
          "relation"
         ],
         "properties": {
          "objectId": {
           "type": "string",
           "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$",
           "maxLength": 80
          },
          "relation": {
           "enum": [
            "initial",
            "supersedes"
           ],
           "type": "string"
          },
          "revisionDigest": {
           "type": "string",
           "pattern": "^sha256:[a-f0-9]{64}$",
           "maxLength": 71
          },
          "predecessorDigest": {
           "oneOf": [
            {
             "type": "string",
             "pattern": "^sha256:[a-f0-9]{64}$",
             "maxLength": 71
            },
            {
             "type": "null"
            }
           ]
          }
         },
         "additionalProperties": false
        },
        {
         "type": "null"
        }
       ]
      },
      "dataClass": {
       "enum": [
        "public",
        "synthetic"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "version",
      "offerId",
      "amountBaseUnits",
      "inputDigest",
      "result",
      "boundaries",
      "receiptDigest"
     ],
     "properties": {
      "result": {
       "type": "object"
      },
      "offerId": {
       "enum": [
        "revision-lineage-check"
       ],
       "type": "st
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maha-revision-lineage-check-ba854fb2/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)
