Mint a run WebSocket ticket
Mints a short-lived signed ticket to authenticate the run’s WebSocket upgrade.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
projectId
runId
Response
The signed WebSocket-upgrade ticket.
ticket
Opaque signed ticket; pass as ?ticket= on the WebSocket upgrade.
expiresAt
ISO-8601 expiry of the ticket.
expiresInSeconds
Seconds until the ticket expires.
wsUrl
WebSocket URL with the ticket pre-applied.
Errors
401
Unauthorized Error
404
Not Found Error