Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Path Parameters

agentId
string
required

Agent to change

Minimum string length: 1

Body

application/json

Set one standing decision for an agent

procedurePath
string

Procedure to set. Omit when setting bypassReads.

Minimum string length: 1
state
enum<string>

Required with procedurePath

Available options:
ASK,
ALWAYS_ALLOW,
NEVER
bypassReads
boolean

Turn the blanket read-only grant on or off. Omit when setting a procedure.

Response

OK

The decision as it now stands

agentId
string
required
procedurePath
string | null
required
state
enum<string> | null
required

ASK (file a request and wait for the owner), ALWAYS_ALLOW (proceed without asking), NEVER (refuse outright and do not queue a request).

Available options:
ASK,
ALWAYS_ALLOW,
NEVER
bypassReads
boolean
required