id · workflowIdstringThe run, and the workflow it came from.
statusstringrunning · waiting · succeeded · failed · cancelled.
inputobjectWhat it was started with.
stepsarrayOne entry per step — see below.
creditsintegerThe whole run.
startedAt · endedAtstringWhen.
A step entry
{
id: "write", type: "model.generate", status: "succeeded",
output: { text: "…", usage: { … } },
credits: 4,
error: "",
warnings: [],
attempts: [ /* replaced attempts, kept */ ],
startedAt: "…", endedAt: "…"
}{
"id": "write", "type": "model.generate", "status": "succeeded",
"output": {"text": "…", "usage": {}},
"credits": 4,
"error": "",
"warnings": [],
"attempts": [], # replaced attempts, kept
"startedAt": "…", "endedAt": "…",
}output is what templates read
{{steps.write.output.text}} reads exactly this. The shape depends on the step type — each one is documented on its own page.
attempts keeps what was replaced
The replaced attempt moves into attempts, so a run that succeeded on the second try still shows what went wrong on the first. That is the record you want when something intermittent is happening.
warnings are not failures
A step can succeed and still report something worth knowing — a truncated result, a fallback taken, a value that was not what the chain expected. They are per step, and worth surfacing.
Not every step runs
A branch not taken leaves its steps untouched. Reading steps as a sequence of things that all happened is wrong on any workflow with a condition or a switch.