Authority Preview Endpoint
POST
/v1/authority/preview
const url = 'https://example.com/v1/authority/preview';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"subject":"example","scenario":"example","actions":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/authority/preview \ --header 'Content-Type: application/json' \ --data '{ "subject": "example", "scenario": "example", "actions": [ "example" ] }'Read-only ELIGIBILITY preview: may a persona own/sponsor/approve/operate/
audit a PaloNexus scenario, over the seeded org:agents:* authority model?
This is the policy simulator’s design-time “Authority preview” mode, backed
verbatim by the seed AuthorityEngine. It is explicitly NOT enforcement — for a
runtime-faithful allow/deny use the control-plane /authz dry-run.
Request Body required
Section titled “Request Body required ” Media type application/json
AuthorityPreviewRequest
Design-time eligibility query: may subject (a stable enterprise subject;
email/employeeId/name accepted) own/sponsor/approve/operate/audit a PaloNexus
scenario? actions defaults to all five. NOT an enforcement decision.
object
subject
required
Subject
string
actions
Any of:
Array<string>
null
Example generated
{ "subject": "example", "scenario": "example", "actions": [ "example" ]}Responses
Section titled “ Responses ”Successful Response
Media type application/json
AuthorityPreviewResponse
object
mode
Mode
string
kind
Kind
string
subject
required
Subject
string
scenarioKnown
Scenarioknown
boolean
principalFound
required
Principalfound
boolean
results
required
Results
Array<object>
AuthorityPreviewResultobject
action
required
Action
string
eligible
required
Eligible
boolean
reason
required
Reason
string
note
required
Note
string
Example
{ "mode": "authority-preview", "kind": "eligibility", "scenarioKnown": true}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}