Retrieves a paginated list of all execution runs for a specific workflow.
curl --request GET \
--url https://v1.api.altostrat.io/workflows/{workflowId}/executions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "fl_run_a1b2c3d4e5f6g7h8",
"status": "pending",
"trigger_payload": {},
"error_message": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"duration_in_seconds": 123,
"created_at": "2023-11-07T05:31:56Z",
"workflow": {
"id": "fl_a1b2c3d4e5f6g7h8",
"name": "User Onboarding",
"description": "Workflow to onboard new users.",
"nodes": [
{
"id": "node_1",
"type": "action",
"data": {
"componentId": "webhook"
}
}
],
"edges": [
{
"id": "edge_1_2",
"source": "node_1",
"target": "node_2",
"sourceHandle": "true"
}
],
"schedule_type": "cron",
"schedule_value": "0 9 * * *",
"next_run_at": "2023-11-07T05:31:56Z",
"is_active": true,
"webhook_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"authorization": {
"id": "auth_a1b2c3d4e5f6g7h8",
"user_id": "<string>",
"email": "jsmith@example.com",
"created_at": "2023-11-07T05:31:56Z"
},
"runs": [
{}
]
},
"logs": [
{
"id": "fl_log_a1b2c3d4e5f6g7h8",
"execution_id": "fl_run_a1b2c3d4e5f6g7h8",
"node_id": "node_1",
"status": "success",
"output": {},
"created_at": "2023-11-07T05:31:56Z"
}
]
}
],
"links": {},
"meta": {}
}
Enter the JWT token.
The prefixed ID of the workflow (e.g., fl_...
).
A paginated list of workflow runs.
The response is of type object
.
curl --request GET \
--url https://v1.api.altostrat.io/workflows/{workflowId}/executions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "fl_run_a1b2c3d4e5f6g7h8",
"status": "pending",
"trigger_payload": {},
"error_message": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"duration_in_seconds": 123,
"created_at": "2023-11-07T05:31:56Z",
"workflow": {
"id": "fl_a1b2c3d4e5f6g7h8",
"name": "User Onboarding",
"description": "Workflow to onboard new users.",
"nodes": [
{
"id": "node_1",
"type": "action",
"data": {
"componentId": "webhook"
}
}
],
"edges": [
{
"id": "edge_1_2",
"source": "node_1",
"target": "node_2",
"sourceHandle": "true"
}
],
"schedule_type": "cron",
"schedule_value": "0 9 * * *",
"next_run_at": "2023-11-07T05:31:56Z",
"is_active": true,
"webhook_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"authorization": {
"id": "auth_a1b2c3d4e5f6g7h8",
"user_id": "<string>",
"email": "jsmith@example.com",
"created_at": "2023-11-07T05:31:56Z"
},
"runs": [
{}
]
},
"logs": [
{
"id": "fl_log_a1b2c3d4e5f6g7h8",
"execution_id": "fl_run_a1b2c3d4e5f6g7h8",
"node_id": "node_1",
"status": "success",
"output": {},
"created_at": "2023-11-07T05:31:56Z"
}
]
}
],
"links": {},
"meta": {}
}