{"uid":"cap_B9GmDyMq7zrr7mTn1CfeB","slug":"api-contracts-reference-integrity-map-e1e880b8","name":"API Contracts — Reference Integrity Map","description":"Inspect declared HTTP contract inheritance links for missing nodes, cycles and cross-owner links. No external references are resolved; this is not complete JSON Schema or MCP validation. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/verify/api-contracts/reference-integrity-map?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"contracts":{"type":"array","maxItems":32,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035089","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.035089/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035089","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035089","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vJRzPIjCmwxMUIA08P2co","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035089","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects HTTP contract inheritance links across a set of declared API contracts to detect missing nodes, cycles, and cross-owner reference issues — offline, without resolving external schemas.","exampleAgentPrompt":"Can you check these API contracts for reference integrity issues — specifically look for missing nodes, cycles in the inheritance chain, and any cross-owner links? The data is synthetic and non-personal.","exampleUseCases":[{"title":"Detecting cycles in API inheritance","prompt":"I've got a batch of API contract definitions and I'm worried some of them have circular inheritance — can you scan them and tell me if there are any cycles or missing reference nodes in the graph? Mark the data class as synthetic."},{"title":"Cross-owner link audit before release","prompt":"Before we ship this API library, can you run a reference integrity check on these 12 contracts to see if any of them reference nodes owned by a different team or have dangling inheritance links?"},{"title":"API governance validation for contract merges","prompt":"We're merging two sets of HTTP contracts and need to verify there are no broken references or cross-owner links introduced by the merge — can you map the reference integrity across all of them? Data is public and non-personal."}],"resultDescription":"Returns a reference integrity map identifying: missing nodes (referenced contract nodes that are not declared), cycles in the inheritance graph, and cross-owner links between contracts. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days. No external schemas are resolved; validation is offline against the submitted declarations only.","failureModes":["Submitting fewer than 1 or more than 32 contracts returns a validation error","Missing or incorrect nonpersonal metadata flag (must be true) causes rejection","Invalid data class value (must be 'public' or 'synthetic') causes schema validation failure","Contracts with deeply nested or ambiguous inheritance chains may produce incomplete cycle reports","External references are not resolved, so cross-schema dependencies outside submitted contracts will appear as missing nodes"],"whenToPreferThis":"Choose this endpoint when you need a fast, offline structural check of HTTP contract inheritance links — especially for detecting cycles, missing nodes, or cross-owner references — without triggering full JSON Schema or MCP validation. Ideal for governance pipelines, pre-merge audits, or contract library maintenance where external reference resolution is not needed or desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:35.216Z","isFirstParty":false,"canonicalSlug":"api-contracts-reference-integrity-map-e1e880b8"}