v12

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

List Policy Rules

List policy rules in the current workspace.

get/v1/policies

Query parameters

subject_type'workspace' | 'agent' | 'user' | 'group'

The kind of subject a rule binds to.

subject_idstring nullable
effect'allow' | 'deny' | 'cap' | 'approval' | 'safety' | 'egress'

What a rule does when it applies.

targetstring nullable
enabledboolean nullable

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