Skip to content
GET /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

idstring
required·

Resource id

runIdstring
required·

Resource id

Response Body

arms_takenRecord<string, any>

Branch step key to arm key to how many times that arm was taken.

nodesRecord<string, any>

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.

run_idstring
statusstring
top_levelobject
doneinteger
totalinteger
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())