Ablauf

List workflow instances

List workflow instances, optionally filtered by type, status, or limited to the most recent entries.

GET
/workflows

List workflow instances, optionally filtered by type, status, or limited to the most recent entries.

Query Parameters

type?string
status?string
limit?number

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://ablauf-worker.zetax.workers.dev/__ablauf/workflows"
{
  "workflows": [
    {
      "id": "string",
      "status": "string",
      "createdAt": 0,
      "updatedAt": 0,
      "type": "string"
    }
  ]
}
{
  "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
}