Get workflow
GET
Get workflow

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

workflowID
string
required

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

cursor
string

The truncated.nextCursor of the previous page. Leave it out for the first page. Pages are counted on the workflow as it is at each call, so an edit between pages can repeat or skip a block.

Response

200 - application/json

Returns the workflow's name, description and counts, then a page of its blocks. When there are more blocks, truncated.nextCursor holds the value to send as cursor for the next page.

workflow
object
required
entry
object
required
blocks
object[]
required

At most 50 blocks: breadth-first from the start, then blocks nothing reaches.

orphanSteps
object[]
required

Steps that no block lists. They never run.

StableWorkflowStep — see its attributes above
warnings
object[]
required
StableWorkflowDiagnostic — see its attributes above
truncated
object

Present when more blocks follow. Send nextCursor as cursor to read the next page.

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.