{"uid":"cap_dhzIxLyVnOJVzMWtqq159","slug":"edition-records-scope-boundary-audit-fed2af9f","name":"Edition Records - Scope Boundary Audit","description":"Enforce exact declared owner, subject, revision and allowed scope labels; a matching label grants no permission or access for publisher/work/edition/format/revision-pinned edition Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/library/edition-records/scope-boundary-audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","maxItems":32,"minItems":1},"ownerRef":{"type":"string"},"revision":{"type":"string"},"dataClass":{"enum":["public","synthetic"],"type":"string"},"subjectRef":{"type":"string"},"allowedScopes":{"type":"array","maxItems":16,"minItems":1},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.038341","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.038341/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.038341","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.038341","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ii6muFVZocQ62TNIabDpF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.038341","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates that edition record rows conform to declared owner, subject, revision, and allowed scope labels, flagging any mismatches or unauthorized scope claims.","exampleAgentPrompt":"Audit these 12 edition record rows against owner ref 'pub-001', subject ref 'work-447', revision 'r3', and allowed scopes ['internal','review'] with data class 'public' and confirm no records fall outside the declared scope boundary.","exampleUseCases":[{"title":"Publisher edition scope compliance check","prompt":"I have 20 edition records for owner 'house-99' and subject 'title-832' at revision 'v2' — can you audit them against allowed scopes 'public' and 'archive' with data class 'synthetic' to make sure none exceed the declared scope boundary?"},{"title":"Revision-pinned edition label enforcement","prompt":"We updated to revision 'r7' and I need to verify that all 15 of these edition rows still respect the allowed scopes 'preview' and 'internal' for owner 'org-55' and subject 'doc-210' — flag anything that doesn't match."},{"title":"Nonpersonal metadata scope validation","prompt":"Can you run a scope boundary audit on these 8 edition records — owner ref 'press-14', subject ref 'edition-606', revision 'draft-2', allowed scopes 'distribution' only, data class 'public', and confirm nonpersonal metadata is true throughout?"}],"resultDescription":"Returns a structured audit report indicating which edition record rows conform to or violate the declared owner, subject, revision, and allowed scope constraints. Includes per-row findings, label match status, and an overall boundary compliance assessment. Does not certify permissions independently — results are based on supplied-record analysis only.","failureModes":["Rows array empty or exceeds 32 items — request rejected","allowedScopes array empty or exceeds 16 items — validation error","Missing required ownerRef or subjectRef — malformed request error","nonpersonalMetadata not set to true — schema const violation","dataClass not one of 'public' or 'synthetic' — enum validation error","Malformed revision string — unparseable revision error","Payment of 0.038341 USDC not fulfilled — 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to deterministically validate whether a batch of edition records stays within explicitly declared scope boundaries (owner, subject, revision, allowed scope labels) without requiring independent certification. Prefer it over general-purpose schema validators when the records are library/publishing edition records with structured scope label semantics, and when you need a record-level audit trail rather than a document-level diff.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T00:52:04.420Z","isFirstParty":false,"canonicalSlug":"edition-records-scope-boundary-audit-fed2af9f"}