Workflow
A workflow run represents an execution instance of a workflow. It contains the execution history, status, and any errors that occurred during the run.
Returns a list of workflows for the organisation, ordered by creation date with the most recent first.
The collection page number
1
Workflow collection
Forbidden
GET /workflows HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"name": "text",
"description": null,
"status": "Draft",
"startingTriggerType": "customer_created"
}
]
Retrieve details of a specific workflow by its ID.
Workflow identifier
Workflow resource
Forbidden
Not found
GET /workflows/{id} HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"name": "text",
"description": null,
"status": "Draft",
"startingTriggerType": "customer_created"
}
Delete a workflow and all its associated data. This action cannot be undone.
Workflow identifier
Workflow resource deleted
Forbidden
Not found
DELETE /workflows/{id} HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
No content
Returns a list of workflow run executions for a specific workflow, ordered by creation date with the most recent first.
WorkflowRun identifier
The collection page number
1
WorkflowRun collection
Forbidden
GET /workflows/{workflowId}/runs HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"completedAt": null,
"status": "running",
"context": [
"text"
],
"executedNodes": [
"text"
],
"errorMessage": null,
"triggerData": null,
"workflowId": null,
"workflowName": null
}
]
Retrieve details of a specific workflow run execution by its ID, including execution history and status.
WorkflowRun identifier
WorkflowRun identifier
WorkflowRun resource
Forbidden
Not found
GET /workflows/{workflowId}/runs/{id} HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"id": 1,
"createdAt": "2025-08-20T03:44:53.834Z",
"updatedAt": "2025-08-20T03:44:53.834Z",
"completedAt": null,
"status": "running",
"context": [
"text"
],
"executedNodes": [
"text"
],
"errorMessage": null,
"triggerData": null,
"workflowId": null,
"workflowName": null
}