Skip to main content
GET
List Policy Rules

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

subject_type
enum<string> | null

The kind of subject a rule binds to.

Available options:
workspace,
agent,
user,
group
subject_id
string | null
effect
enum<string> | null

What a rule does when it applies.

Available options:
allow,
deny,
cap,
approval,
safety,
egress
target
string | null
enabled
boolean | null

Response

Successful Response

effect
enum<string>
required

What a rule does when it applies.

Available options:
allow,
deny,
cap,
approval,
safety,
egress
enabled
boolean
required
id
string
required
params
Params · object
required
priority
integer
required
subject_id
string
required
subject_type
enum<string>
required

The kind of subject a rule binds to.

Available options:
workspace,
agent,
user,
group
target
string
required
condition
string | null