ListWorkflowExecutionOutputs
automations.list_execution_outputs(AutomationListExecutionOutputsParams**kwargs) -> SyncOutputsPage[AutomationListExecutionOutputsResponse]
POST/gitpod.v1.WorkflowService/ListWorkflowExecutionOutputs
Lists outputs produced by workflow execution actions.
Use this method to:
- Retrieve test results, coverage metrics, or other structured data from executions
- Aggregate outputs across multiple workflow executions
- Build dashboards or reports from execution data
Examples
-
List outputs for a workflow execution:
Retrieves all outputs produced by actions in the specified execution.
filter: workflowExecutionIds: ["d2c94c27-3b76-4a42-b88c-95a85e392c68"] pagination: pageSize: 50
ListWorkflowExecutionOutputs
import os
from gitpod import Gitpod
client = Gitpod(
bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted
)
page = client.automations.list_execution_outputs(
filter={
"workflow_execution_ids": ["d2c94c27-3b76-4a42-b88c-95a85e392c68"]
},
pagination={
"page_size": 50
},
)
page = page.outputs[0]
print(page.action_id){
"outputs": [
{
"actionId": "actionId",
"values": {
"foo": {
"boolValue": true,
"floatValue": 0,
"intValue": "intValue",
"stringValue": "stringValue"
}
}
}
],
"pagination": {
"nextToken": "nextToken"
}
}Returns Examples
{
"outputs": [
{
"actionId": "actionId",
"values": {
"foo": {
"boolValue": true,
"floatValue": 0,
"intValue": "intValue",
"stringValue": "stringValue"
}
}
}
],
"pagination": {
"nextToken": "nextToken"
}
}