v50

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-08-01147180956.9 KB
OAuth

Mint Endpoint

Mint a short-lived ephemeral token for a task agent.

The caller must be an authenticated service account. The requested scopes must be a subset of the caller's own scopes.

post/oauth/mint

Request body

scopestring required
target_agent_idstring required
ttl_secondsinteger nullable

Response

Successful Response

access_tokenstring required
expires_ininteger required
token_typestring