Agent Maturity Compass API - v1.2.0
Guides
HTTP API
GitHub
Preparing search index...
index
issueLeaseToken
Function issueLeaseToken
issueLeaseToken
(
input
:
IssueLeaseInput
,
)
:
{
payload
:
{
agentId
:
string
;
expiresTs
:
number
;
issuedTs
:
number
;
leaseId
:
string
;
maxCostUsdPerDay
:
number
|
null
;
maxRequestsPerMinute
:
number
;
maxTokensPerMinute
:
number
;
modelAllowlist
:
string
[]
;
nonce
:
string
;
routeAllowlist
:
string
[]
;
scopes
:
(
|
"gateway:llm"
|
"proxy:connect"
|
"toolhub:intent"
|
"toolhub:execute"
|
"hook:observe"
|
"hook:control"
|
"governor:check"
|
"receipt:verify"
|
"diagnostic:self-run"
|
"wire:submit"
)
[]
;
v
:
1
;
workOrderId
?:
string
|
null
;
workspaceId
:
string
;
}
;
token
:
string
;
}
Parameters
input
:
IssueLeaseInput
Returns
{
payload
:
{
agentId
:
string
;
expiresTs
:
number
;
issuedTs
:
number
;
leaseId
:
string
;
maxCostUsdPerDay
:
number
|
null
;
maxRequestsPerMinute
:
number
;
maxTokensPerMinute
:
number
;
modelAllowlist
:
string
[]
;
nonce
:
string
;
routeAllowlist
:
string
[]
;
scopes
:
(
|
"gateway:llm"
|
"proxy:connect"
|
"toolhub:intent"
|
"toolhub:execute"
|
"hook:observe"
|
"hook:control"
|
"governor:check"
|
"receipt:verify"
|
"diagnostic:self-run"
|
"wire:submit"
)
[]
;
v
:
1
;
workOrderId
?:
string
|
null
;
workspaceId
:
string
;
}
;
token
:
string
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
HTTP API
GitHub
Agent Maturity Compass API - v1.2.0
Loading...