Agents

Mint a short-lived chat stream token

Returns a short-lived token that allows browser clients to connect directly to the agent chat SSE stream without exposing the underlying org API key.

post/agent/v2/chat/{id}/stream-token

Path parameters

idstring required

Chat session ID

Response

Short-lived stream token

tokenstring required
expiresAtstring date-time required
streamUrlstring uri required

Changes