{"uid":"cap_S3-W0NnDaZQ17v7XmCoYI","slug":"glossary-records-reference-integrity-map-7cc5c1d2","name":"Glossary Records - Reference Integrity Map","description":"Check parent existence and cycles within owner and subject Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/library/glossary-records/reference-integrity-map?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"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.035323","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.035323/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035323","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035323","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0w9_IfdiWCo8O_nFRJ-QK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035323","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks parent existence and detects cycles within owner and subject relationships in supplied glossary records.","exampleAgentPrompt":"Can you check these 10 glossary records for broken parent references or cycles in the owner and subject chains? They're public, non-personal metadata rows.","exampleUseCases":[{"title":"Detect cycles in glossary hierarchy","prompt":"I have a batch of 20 glossary entries and I want to make sure none of them create circular owner-subject chains — can you run a reference integrity check on them? They're synthetic, non-personal records."},{"title":"Validate parent existence before import","prompt":"Before I import these glossary rows into our system, can you verify that all the parent references actually exist and that there are no dangling or missing owner references? The data is public and non-personal."},{"title":"Audit taxonomy records for integrity issues","prompt":"We've got about 30 public glossary records that need a relationship audit — please check whether any subject or owner references are broken or form cycles, and give me a map of what's wrong."}],"resultDescription":"Returns a reference integrity map indicating whether parent references exist and whether any cycles are present within owner and subject relationships across the supplied glossary rows, flagging specific integrity violations found in the input records.","failureModes":["Rows array empty or exceeds 32-item maximum — validation error returned","dataClass value not in ['public','synthetic'] enum — request rejected","nonpersonalMetadata not set to true (const) — request rejected","Malformed row objects that cannot be parsed — integrity map may be incomplete","Network timeout for large row batches near the 32-item limit"],"whenToPreferThis":"Use this endpoint when you need to validate reference integrity — specifically parent existence and cycle detection — within glossary records before ingesting or publishing them. It is purpose-built for owner/subject/revision relationship analysis in glossary datasets rather than general graph cycle detection or schema validation tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:55.841Z","isFirstParty":false,"canonicalSlug":"glossary-records-reference-integrity-map-7cc5c1d2"}