List workflow runs
/workflow-run
Retrieve workflow execution runs for the current environment.
Query Parameters
createdrunningcompletedfailed
Response Body
3 properties
5 properties
run_sync_jobtruerunWhen the run was created.
When the run finished.
The ID of the workflow run.
How many times the run has been retried.
0When the run started.
created - waiting to run, running - running, completed - no step failed (a step skipped by its run_if counts as done), failed - a step failed; result.error says why.
createdrunningcompletedfailed
When the run was last updated.
The workflow this run belongs to.
truto workflow-runs list -o jsonimport Truto from '@truto/truto-ts-sdk';
const truto = new Truto({
token: '<your_api_token>',
});
for await (const item of truto.workflowRun.list()) {
console.log(item);
}import asyncio
from truto_python_sdk import TrutoApi
truto_api = TrutoApi(token="<your_api_token>")
async def main():
async for item in truto_api.workflow_runs.list():
print(item)
asyncio.run(main())curl -X GET 'https://api.truto.one/workflow-run' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/workflow-run', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/workflow-run"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())