Get workflow timeline
Get a chronological timeline of all executed steps for a workflow instance, including durations and retry history.
Get a chronological timeline of all executed steps for a workflow instance, including durations and retry history.
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/timeline"{
"id": "string",
"type": "string",
"status": "created",
"timeline": [
{
"name": "string",
"type": "string",
"status": "string",
"startedAt": 0,
"duration": 0,
"attempts": 0,
"error": "string",
"retryHistory": [
{
"attempt": 0,
"error": "string",
"errorStack": "string",
"timestamp": 0,
"duration": 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
}