Agent Maturity Compass API - v1.2.0
Guides
HTTP API
GitHub
Preparing search index...
index
evaluateBudgetStatus
Function evaluateBudgetStatus
evaluateBudgetStatus
(
workspace
:
string
,
agentId
:
string
,
now
?:
number
,
)
:
{
budgetConfigValid
:
boolean
;
exceededActionClasses
:
ActionClass
[]
;
nativeAdmissionPolicy
:
{
costLimit
:
"known-subtotal-threshold"
;
tokenLimit
:
"between-dispatch-threshold"
;
unknownTokenUsage
:
"BLOCK"
|
"ALLOW_WITH_WARNING"
;
}
;
ok
:
boolean
;
reasons
:
string
[]
;
usage
:
BudgetUsage
;
}
Parameters
workspace
:
string
agentId
:
string
now
:
number
= ...
Returns
{
budgetConfigValid
:
boolean
;
exceededActionClasses
:
ActionClass
[]
;
nativeAdmissionPolicy
:
{
costLimit
:
"known-subtotal-threshold"
;
tokenLimit
:
"between-dispatch-threshold"
;
unknownTokenUsage
:
"BLOCK"
|
"ALLOW_WITH_WARNING"
;
}
;
ok
:
boolean
;
reasons
:
string
[]
;
usage
:
BudgetUsage
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
HTTP API
GitHub
Agent Maturity Compass API - v1.2.0
Loading...