Sessions

Mint an ephemeral session token for an ACP provider session

Returns a short-lived aseph_ bearer for use by the ACP adapter in place of the full operator key. The token expires at the requested TTL and is actively revoked when the session ends. Only the operator key may mint session tokens.

post/api/sessions/tokens

Request body

agentIdstring required
taskIdstring required
ttlMsinteger required

Response

Minted token plaintext (returned once) and its stable token ID

tokenIdstring required
plaintextstring required

Changes

Changed in 1 of the 162 revisions of this API.1