Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

List steps for a workflow run

GET/api/v2/workflows/runs/{runId}/steps
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Path parameters
runIdstringrequired

Public workflow-run identifier.

matches ^wfr_[A-Za-z0-9_-]{21}$
Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Responses
200

Ordered workflow-run steps returned.

successbooleanrequired
Allowed:true
dataWorkflowStep[]required
Show properties
Array of WorkflowStep
stepIdstringrequired
matches ^wfs_[A-Za-z0-9_-]{21}$
stepNamestringrequired
stepIndexintegerrequired
min 0
stepTypestringrequired
Allowed:runsleepcallinvokewait_eventnotify
statusstringrequired
Allowed:pendingrunningcompletedfailed
outputany | nullrequired
errorMessagestring | nullrequired
attemptCountinteger | nullrequired
min 0
durationMsinteger | nullrequired
min 0
startedAtstring<date-time> | nullrequired
completedAtstring<date-time> | nullrequired
createdAtstring<date-time>required
400

Bad Request - Invalid input data

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
404

Not Found - Resource does not exist

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.anlyon.com/api/v2/workflows/runs/string/steps' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": [
    {
      "stepId": "string",
      "stepName": "string",
      "stepIndex": 0,
      "stepType": "run",
      "status": "pending",
      "output": null,
      "errorMessage": "string",
      "attemptCount": 0,
      "durationMs": 0,
      "startedAt": "2019-08-24T14:15:22Z",
      "completedAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ]
}