# Source Packs - Reference Integrity Map

> Source Packs - Reference Integrity Map is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.035059/call, status unknown (last checked 2026-10-15).

Validates declared source derivation-parent links within source packs for missing sources, cycles, and cross-pack references without verifying actual derivation authenticity.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/context/source-packs/reference-integrity-map?utm_source=zero.xyz
- Price: $0.035059/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/source-packs-reference-integrity-map-c9895174
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EVe7lph81pEo-Us54stJV

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 source-packs-reference-integrity-map-c9895174 -d '<json body>'
```

Example prompt: Check these source packs for any missing derivation-parent links, cycles, or cross-pack references — the data is public and nonpersonal metadata only.

## When to prefer this

Use this endpoint when you need to structurally validate declared source derivation-parent links in source packs — specifically to find missing sources, reference cycles, or cross-pack references — without requiring actual derivation verification or source authenticity checks. It is ideal for offline, typed, nonpersonal metadata validation workflows where you need a deterministic structural audit of a source reference graph before ingestion or publishing.

## Known failure modes

- Input array is empty or exceeds 32 items — schema validation error
- nonpersonalMetadata field is not set to true — rejected by const constraint
- dataClass not set to 'public' or 'synthetic' — enum validation failure
- Malformed source entries in the array — parsing or validation error
- Service unavailable — HTTP 5xx with no integrity map returned

## How this service works

Inspect declared source derivation-parent links for missing sources, cycles and cross-pack references. No verification of actual derivation or source authenticity. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.

## Output

Returns a reference integrity map indicating which declared source derivation-parent links are missing, which form cycles, and which contain cross-pack references. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days. No verification of actual derivation authenticity is performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sources": {
   "type": "array",
   "maxItems": 32,
   "minItems": 1
  },
  "dataClass": {
   "enum": [
    "public",
    "synthetic"
   ],
   "type": "string"
  },
  "nonpersonalMetadata": {
   "type": "boolean",
   "const": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/source-packs-reference-integrity-map-c9895174/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)
