Skip to content
PaloNexus
Request access Request

Sts Token

POST
/v1/sts/token
curl --request POST \
--url https://example.com/v1/sts/token \
--header 'Content-Type: application/json' \
--data '{ "tenantId": "example", "agentId": "example", "delegationId": "example", "taskId": "example", "action": "example", "resourceType": "example", "resource": "example", "audience": "example", "agentProof": {}, "requestedTtl": 1 }'

Exchange delegation evidence + agent proof for a short-lived, audience-bound agent access token (sub=agent, act=human). Fails closed; every outcome audited.

Media type application/json
STSTokenRequest
object
tenantId
required
Tenantid
string
agentId
required
Agentid
string
delegationId
required
Delegationid
string
taskId
Any of:
string
action
Any of:
string
resourceType
Any of:
string
resource
Any of:
string
audience
required
Audience
string
agentProof
Any of:
object
key
additional properties
any
requestedTtl
Any of:
integer
Example generated
{
"tenantId": "example",
"agentId": "example",
"delegationId": "example",
"taskId": "example",
"action": "example",
"resourceType": "example",
"resource": "example",
"audience": "example",
"agentProof": {},
"requestedTtl": 1
}

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}