Skip to main content
GET
List standing policy rules

Authorizations

Authorization
string
header
required

JWT authentication token

Query Parameters

scope
enum<string>

Who the rule applies to. Rules from every scope are evaluated together.

Available options:
org,
repo,
user,
thread
event
enum<string>

The moment in a task where the rule is checked.

Available options:
PreToolUse,
PostToolUse,
PostToolUseFailure,
PermissionRequest,
SessionStart,
SubagentStop,
Stop
enabled
boolean

Match part of the event, tool, path, action type, reason, text or question.

Maximum string length: 100

Response

Rules visible to the caller

hooks
object[]
required