Agent Maturity Compass API - v1.2.0
Guides
HTTP API
GitHub
Preparing search index...
index
listApprovals
Function listApprovals
listApprovals
(
params
:
{
agentId
?:
string
;
status
?:
"EXPIRED"
|
"DENIED"
|
"PENDING"
|
"CONSUMED"
|
"APPROVED"
;
workspace
:
string
;
}
,
)
:
{
approval
:
{
actionClass
:
ActionClass
;
agentId
:
string
;
approvalId
:
string
;
boundHashes
:
{
intentHash
:
string
;
policyHash
:
string
;
toolsHash
:
string
;
workOrderHash
?:
string
|
null
;
}
;
createdTs
:
number
;
decision
?:
"DENIED"
|
"APPROVED"
|
null
;
decisionBy
?:
"owner"
|
null
;
decisionReceiptId
?:
string
|
null
;
decisionTs
?:
number
|
null
;
effectiveMode
:
ExecutionMode
;
expiresTs
:
number
;
intentId
:
string
;
reason
?:
string
|
null
;
requestedMode
:
ExecutionMode
;
riskTier
:
"low"
|
"high"
|
"critical"
|
"medium"
;
status
:
"EXPIRED"
|
"DENIED"
|
"PENDING"
|
"CONSUMED"
|
"APPROVED"
;
toolName
:
string
;
v
:
1
;
workOrderId
?:
string
|
null
;
}
;
signatureValid
:
boolean
;
status
:
"EXPIRED"
|
"DENIED"
|
"PENDING"
|
"CONSUMED"
|
"APPROVED"
;
}
[]
Parameters
params
:
{
agentId
?:
string
;
status
?:
"EXPIRED"
|
"DENIED"
|
"PENDING"
|
"CONSUMED"
|
"APPROVED"
;
workspace
:
string
;
}
Returns
{
approval
:
{
actionClass
:
ActionClass
;
agentId
:
string
;
approvalId
:
string
;
boundHashes
:
{
intentHash
:
string
;
policyHash
:
string
;
toolsHash
:
string
;
workOrderHash
?:
string
|
null
;
}
;
createdTs
:
number
;
decision
?:
"DENIED"
|
"APPROVED"
|
null
;
decisionBy
?:
"owner"
|
null
;
decisionReceiptId
?:
string
|
null
;
decisionTs
?:
number
|
null
;
effectiveMode
:
ExecutionMode
;
expiresTs
:
number
;
intentId
:
string
;
reason
?:
string
|
null
;
requestedMode
:
ExecutionMode
;
riskTier
:
"low"
|
"high"
|
"critical"
|
"medium"
;
status
:
"EXPIRED"
|
"DENIED"
|
"PENDING"
|
"CONSUMED"
|
"APPROVED"
;
toolName
:
string
;
v
:
1
;
workOrderId
?:
string
|
null
;
}
;
signatureValid
:
boolean
;
status
:
"EXPIRED"
|
"DENIED"
|
"PENDING"
|
"CONSUMED"
|
"APPROVED"
;
}
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
HTTP API
GitHub
Agent Maturity Compass API - v1.2.0
Loading...