Start a playbook run
Starts a new run of a project-scoped playbook and returns the live run plus a WebSocket-upgrade ticket.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
projectId
Request
This endpoint expects an object.
playbookId
startData
taskAssignments
attachedFileIds
Response
The newly started run.
run
A playbook run projection.
wsTicket
Signed ticket for the run's WebSocket upgrade.
wsUrl
WebSocket URL with the ticket pre-applied.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error