List steps for a workflow run
GET
/api/v2/workflows/runs/{runId}/stepsAuthorization
AuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
or
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
Path parameters
runIdstringrequiredPublic workflow-run identifier.
matches ^wfr_[A-Za-z0-9_-]{21}$
Header parameters
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
max length 128
Responses
200
Ordered workflow-run steps returned.
successbooleanrequiredAllowed:
truedataWorkflowStep[]requiredShow propertiesHide properties
Array of
WorkflowStepstepIdstringrequiredmatches ^wfs_[A-Za-z0-9_-]{21}$
stepNamestringrequiredstepIndexintegerrequiredmin 0
stepTypestringrequiredAllowed:
runsleepcallinvokewait_eventnotifystatusstringrequiredAllowed:
pendingrunningcompletedfailedoutputany | nullrequirederrorMessagestring | nullrequiredattemptCountinteger | nullrequiredmin 0
durationMsinteger | nullrequiredmin 0
startedAtstring<date-time> | nullrequiredcompletedAtstring<date-time> | nullrequiredcreatedAtstring<date-time>required400
Bad Request - Invalid input data
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject401
Unauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject403
Authenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject404
Not Found - Resource does not exist
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject429
Too Many Requests - Rate limit exceeded
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
