v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01251238661.6 KB
v1
protected
policies

Get Policy Rule

Read one policy rule in the current workspace.

get/v1/policies/{rule_id}

Path parameters

rule_idstring uuid required

Response

Successful Response

conditionstring nullable
effect'allow' | 'deny' | 'cap' | 'approval' | 'safety' | 'egress' required

What a rule does when it applies.

enabledboolean required
idstring required
paramsobject required
priorityinteger required
subject_idstring required
subject_type'workspace' | 'agent' | 'user' | 'group' required

The kind of subject a rule binds to.

targetstring required