{"uid":"cap_k4MuTHDtxDKmzhA-0f4qJ","slug":"trial-registry-records-scope-boundary-audit-c4a3aa60","name":"Trial Registry Records - Scope Boundary Audit","description":"Enforce exact declared owner, subject, revision and allowed scope labels; a matching label grants no permission or access for study-level registry/protocol/snapshot Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/intel/trial-registry-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.038333","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.038333/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.038333","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.038333","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b5dBdt_wLx5apPqxYLGjB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.038333","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates that clinical trial registry records conform to exact declared owner, subject, revision, and allowed scope labels, flagging any scope violations without granting permission or access.","exampleAgentPrompt":"Audit these 5 trial registry record rows for scope boundary compliance — the owner is 'org-123', subject is 'trial-456', revision is 'v2', data class is 'public', and the allowed scopes are ['read', 'review']; nonpersonal metadata is true.","exampleUseCases":[{"title":"Clinical trial protocol scope enforcement","prompt":"I need to validate 10 trial registry records against our declared owner 'pharma-corp-7', subject 'study-BRCA-001', revision 'r3', with allowed scopes of 'read' and 'analyze' — data class is synthetic and nonpersonal metadata is true. Can you run a scope boundary audit on these rows?"},{"title":"Snapshot record revision integrity check","prompt":"We have a batch of 8 study snapshot records that need to be audited to make sure they match owner 'maha-org', subject 'registry-2024', revision 'final-v1', and only fall within allowed scopes 'read' and 'export'; data class is public and all metadata is nonpersonal."},{"title":"Pre-submission registry compliance review","prompt":"Before we submit, please audit these 15 trial registry protocol rows to confirm they align with owner 'sponsor-LifeScience', subject 'trial-phase3-oncology', revision 'draft-4', and the permitted scopes are strictly 'read' and 'review' — data class public, nonpersonal metadata confirmed."}],"resultDescription":"Returns an audit result indicating whether each supplied registry record row conforms to the exact declared owner, subject, revision, and allowed scope labels. Flags any records with scope boundary violations, pin mismatches, or unauthorized label usage. Does not grant access or certify records independently.","failureModes":["Missing required fields (ownerRef, subjectRef, revision, allowedScopes) returns a validation error","Rows array exceeds maxItems (32) or is empty returns a schema error","dataClass value outside 'public' or 'synthetic' enum returns a rejection","nonpersonal metadata flag not set to true (const) causes request failure","Mismatched revision strings produce scope violation flags rather than errors","Network timeout on large row batches"],"whenToPreferThis":"Use this endpoint when you need strict scope boundary enforcement on clinical trial registry or protocol records and require exact pin matching on owner, subject, revision, and scope labels. Prefer this over generic data validation endpoints when dealing specifically with study-level registry snapshots or trial protocol records that must conform to declared scope constraints without independent certification. Best suited for pre-submission compliance checks and audit trails in regulated research contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:20.069Z","isFirstParty":false,"canonicalSlug":"trial-registry-records-scope-boundary-audit-c4a3aa60"}