Mint an action-run WebSocket ticket
Mint an action-run WebSocket ticket
Mints a fresh short-lived ticket to authenticate a WebSocket upgrade for the run’s live updates (the browser upgrade can’t carry a bearer header).
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
projectId
runId
Response
A 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
403
Forbidden Error
404
Not Found Error