Skip to content
GET /workflow-run/{id}

Retrieve details of a specific workflow execution run.

Path Parameters

idstring · uuid
required
Example: 5aa2ced1-7996-4695-ab8d-ea0f104f2f55

Response Body

resultobject
required
errorstring
stepsobject[]
5 properties
actionstring
Example: run_sync_job
errorstring
resultRecord<string, any>
successboolean
Example: true
typestring
Example: run
successboolean
created_atstring · date-time

When the run was created.

finished_atstring · date-time

When the run finished.

idstring · uuid

The ID of the workflow run.

retry_attemptnumber

How many times the run has been retried.

Example: 0
started_atstring · date-time

When the run started.

statusstring

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.

Possible values:
createdrunningcompletedfailed
updated_atstring · date-time

When the run was last updated.

workflow_idstring · uuid

The workflow this run belongs to.

Errors

StatusDescription
404Workflow run not found
truto workflow-runs get '<id>' -o json
import Truto from '@truto/truto-ts-sdk';

const truto = new Truto({
  token: '<your_api_token>',
});

const result = await truto.workflowRun.get('<id>');

console.log(result);
import asyncio
from truto_python_sdk import TrutoApi

truto_api = TrutoApi(token="<your_api_token>")

async def main():
    result = await truto_api.workflow_runs.get("<id>")
    print(result)

asyncio.run(main())
curl -X GET 'https://api.truto.one/workflow-run/{id}' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/workflow-run/{id}', {
  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/{id}"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())