Get workflow status
Get the current status of a workflow instance including its steps, payload, and result.
Get the current status of a workflow instance including its steps, payload, and result.
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://ablauf-worker.zetax.workers.dev/__ablauf/workflows/string"{
"id": "string",
"type": "string",
"status": "created",
"payload": null,
"result": null,
"error": "string",
"steps": [
{
"name": "string",
"type": "do",
"status": "running",
"attempts": 0,
"result": null,
"error": "string",
"completedAt": 0,
"startedAt": 0,
"duration": 0,
"errorStack": "string",
"retryHistory": [
{
"attempt": 0,
"error": "string",
"errorStack": "string",
"timestamp": 0,
"duration": 0
}
]
}
],
"createdAt": 0,
"updatedAt": 0
}{
"defined": true,
"code": "OBSERVABILITY_DISABLED",
"status": 400,
"message": "Observability is disabled",
"data": null
}{
"defined": true,
"code": "WORKFLOW_NOT_FOUND",
"status": 404,
"message": "Workflow not found",
"data": null
}{
"defined": true,
"code": "WORKFLOW_NOT_RUNNING",
"status": 409,
"message": "Workflow is not running",
"data": null
}{
"defined": true,
"code": "INTERNAL_ERROR",
"status": 500,
"message": "An unexpected error occurred",
"data": null
}