Skip to content
Navigation

Mint a live WebSocket ticket for a run

Mints a short-lived ticket for opening the run's live WebSocket, used to stream timeline events in real time (the WS upgrade itself is not exposed over this API / MCP surface). Authorization: space:read (org admins bypass); missing → 404. No request body. The ticket carries a capability view — "full" when the caller has space:contribute, otherwise "sanitized" (artifact URLs redacted on the stream). Returns 200 { ticket, expiresAt }.

POST
https://api.cloudraker.com/spaces/{spaceId}/playbook-runs/{runId}/ws-ticket
Try it
Path parameters
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required
  • runId
    string
    required

Returns

200

A ticket and its expiry for the run WebSocket.

JSON
  • ticket
    string
    required

    Single-use and short-lived.

  • expiresAt
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$

Type to search…

↑↓ navigate↵ selectEsc close