Workflows Service, gRPC: ExecutionService.List
Retrieves list of Workflow executions.
gRPC request
rpc List (ListExecutionsRequest) returns (ListExecutionsResponse)
ListExecutionsRequest
{
"workflowId": "string",
"pageSize": "int64",
"pageToken": "string",
"filter": "string"
}
Field |
Description |
workflowId |
string Required field. ID of the Workflow. |
pageSize |
int64 The maximum number of results per page that should be returned. If the number of available Default value: 100. |
pageToken |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters resources listed in the response. The expression must specify:
|
ListExecutionsResponse
{
"executions": [
{
"id": "string",
"workflowId": "string",
"status": "Status",
"startedAt": "google.protobuf.Timestamp",
"duration": "google.protobuf.Duration"
}
],
"nextPageToken": "string"
}
Field |
Description |
executions[] |
List of Workflow executions. |
nextPageToken |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
ExecutionPreview
Field |
Description |
id |
string ID of the Workflow execution. Generated at creation time. |
workflowId |
string ID of the Workflow. |
status |
enum Status Status of the Workflow execution
|
startedAt |
Start timestamp for the Workflow execution. |
duration |
Duration of the Workflow execution. |