Skip to main content

Get current step state

GET 

/api/v1/:environment/sessions/:sessionId/step

Returns the current step state for a running session. Returns { stepType: "START", data: {} } when the workflow is running but no step is currently waiting for input. Returns { stepType: "END", actions: [] } when the workflow has ended (status COMPLETED, ERROR, ABORTED, or EXPIRED). Returns 400 if the session has not started yet (status CREATED).

Request

Responses

Current step state