Where a run is, step by step
/automation/{id}/run/{runId}/progress
Needs can_use on the workflow, like the run itself; 404 for an unknown run. One object, not a list: its size depends on the workflow’s definition, never on how many times a loop ran. Live for a running or waiting run, stored at finish for a finished one.
Path Parameters
Resource id
Resource id
Response Body
Branch step key to arm key to how many times that arm was taken.
One node per step of the run’s definition, keyed by step key. Sized by the definition, never by how many times a loop ran.
curl -X GET 'https://api.elaichi.ai/automation/<id>/run/<runId>/progress' \
-H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
-H 'Content-Type: application/json'const response = await fetch('https://api.elaichi.ai/automation/<id>/run/<runId>/progress', {
method: 'GET',
headers: {
'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import os
import requests
url = "https://api.elaichi.ai/automation/<id>/run/<runId>/progress"
headers = {
"Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
"Content-Type": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())