{"uid":"cap_-4pG4Ho-i6ORFwRjEk2eW","slug":"reaction-records-scope-boundary-audit-b6cf3202","name":"Reaction Records - Scope Boundary Audit","description":"Enforce exact declared owner, subject, revision and allowed scope labels; a matching label grants no permission or access for dataset/reaction/method/revision Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/compute/reaction-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.038316","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.038316/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.038316","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.038316","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kGkmXaYw8_OjkhwmVYz5s","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.038316","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates that reaction record rows conform to declared owner, subject, revision, and allowed scope labels, flagging any scope label that grants no permission or access.","exampleAgentPrompt":"Audit these 10 reaction record rows for scope boundary compliance — the owner is 'lab-org-42', subject is 'compound-XR7', revision is 'v2.1', data class is 'synthetic', and the allowed scopes are ['read','analyze']. Flag any rows where the scope labels don't match or grant unintended access.","exampleUseCases":[{"title":"Synthetic reaction dataset scope audit","prompt":"I have 15 synthetic reaction records I need to audit. The owner reference is 'pharma-team-9', subject is 'reaction-batch-001', revision is 'r3.0', data class is 'synthetic', allowed scopes are ['read','export'], and nonpersonal metadata is true. Check that all rows stay within those declared scope boundaries."},{"title":"Public reaction data compliance check","prompt":"Can you validate these 8 public reaction records against our declared scope policy? Owner is 'open-chem-lab', subject is 'oxidation-series', revision is 'v1.4', data class is 'public', allowed scopes are ['read','display']. Make sure none of the scope labels are granting access beyond what's declared."},{"title":"Multi-row scope label enforcement for regulated dataset","prompt":"We need to enforce scope boundaries on 20 reaction records before releasing them. Owner ref is 'reg-authority-7', subject ref is 'clinical-rxn-batch', revision is 'v5.2', data class is 'synthetic', allowed scopes are ['read'], nonpersonal metadata confirmed true. Check that no record has a label granting permissions outside that list."}],"resultDescription":"Returns a per-row audit report indicating whether each reaction record conforms to the declared owner, subject, revision, and allowed scope labels. Flags any rows where scope labels are mismatched or would grant unintended permissions, providing a compliance summary without independent certification — analysis is based solely on the supplied records.","failureModes":["Missing required fields (ownerRef, subjectRef, revision, allowedScopes) result in validation rejection","rows array outside 1–32 item range causes schema rejection","allowedScopes array outside 1–16 item range causes rejection","dataClass value not in ['public','synthetic'] enum returns error","nonpersonalMetadata not set to true (const) causes rejection","Malformed row data may result in partial audit or error","Network/payment failure returns 402 or connection error"],"whenToPreferThis":"Choose this endpoint when you need to enforce exact scope boundary constraints on scientific reaction records — specifically when you need to verify that declared owner, subject, revision, and scope labels are consistent and that no scope label grants unintended permission or access. It is best suited for pre-release compliance checks on synthetic or public reaction datasets of up to 32 rows. Prefer it over general-purpose validation tools when the domain is chemistry/reaction data governance and the concern is scope label integrity rather than field presence or data type correctness.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:30.564Z","isFirstParty":false,"canonicalSlug":"reaction-records-scope-boundary-audit-b6cf3202"}