Skip to main content
GET
/
api
/
v1
/
workflows
/
executions
Get all the executions of a workflow
curl --request GET \
  --url https://workflow-app.thena.ai/api/v1/workflows/executions \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "workflowId": "<string>",
  "version": 123,
  "status": "<string>",
  "context": {},
  "startedAt": "2023-11-07T05:31:56Z",
  "lastUpdatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Enter your API key

Query Parameters

workflowId
string
required

The unique identifier of the workflow

version
number

The version of the workflow

status
enum<string>

The status of the workflow execution

Available options:
PENDING,
SCHEDULED,
EXECUTING_ACTIVITIES,
FINISHED,
FAILED,
RETRYING,
COMPENSATING,
SUSPENDED
from
string<date-time>

The start date from which to fetch executions by (in epoch time)

to
string<date-time>

The end date to which to fetch executions by (in epoch time)

Response

Operation successful

id
string
required

The identifier of the workflow instance

workflowId
string
required

The identifier of the workflow

version
number
required

The version of the workflow

status
string
required

The status of the workflow instance

context
object
required

The context of the workflow instance

startedAt
string<date-time>
required

The start date of the workflow instance (in ISO format)

lastUpdatedAt
string<date-time>
required

The last updated date of the workflow instance (in ISO format)