Link Search Menu Expand Document

List Workflow instances

Fetch instances created from a specific workflow.

URL: /api/namespaces/{namespace}/workflows/{workflow}/instances/

Method: GET

Input Provide the parameter namespace and workflow to fetch associated instances. Optionally you can provide limit and offset for pagination.

{
    "limit": 1,
    "offset": 0
}

Success Response

Code: 200 OK

Content

{
  "workflowInstances": [
    {
      "id": "test/test/ikENVF",
      "status": "complete",
      "beginTime": {
        "seconds": 1620601680,
        "nanos": 590045000
      }
    }
  ],
  "offset": 0,
  "limit": 0
}

Error Response

Code: 400 Bad Request

Content

{
    "Code": 400,
    "Message": "An error relating to the request"
}

Copyright © 2021 Vorteil.io.