# Trial Registry Records - Reference Integrity Map

> Trial Registry Records - Reference Integrity Map is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.035269/call, status unknown (last checked 2026-10-16).

Validates parent existence and detects cycles within owner and subject reference chains in supplied trial registry record data.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/intel/trial-registry-records/reference-integrity-map?utm_source=zero.xyz
- Price: $0.035269/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trial-registry-records-reference-integrity-map-5188b9e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yTAXuFQpIF6KZSOCKXVJc

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 trial-registry-records-reference-integrity-map-5188b9e2 -d '<json body>'
```

Example prompt: Check these 5 trial registry records for parent existence issues and ownership cycles — treat the data as synthetic and confirm it contains no personal metadata.

## When to prefer this

Choose this endpoint when you need to validate reference integrity (parent existence and cycle detection) specifically within trial registry records as a local analysis of supplied data, without requiring an external registry lookup. It is suited for pre-import validation, data quality checks, and audit pipelines where data is either public or synthetic and confirmed non-personal.

## Known failure modes

- Rows array is empty or exceeds 32 items — validation error
- dataClass not set to 'public' or 'synthetic' — enum validation failure
- nonpersonalMetadata not explicitly set to true — request rejected
- Malformed row objects missing required fields — analysis incomplete or errored
- Cycle detection inconclusive if reference graph is partially supplied

## How this service works

Check parent existence and cycles within owner and subject Supplied-record analysis, not independent certification. Full contract at the free describe URL.

## Output

Returns a reference integrity map indicating which records have valid parent references, which reference non-existent parents, and which participate in ownership or subject cycles — based solely on the supplied record data without independent external lookup.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "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/trial-registry-records-reference-integrity-map-5188b9e2/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)
