Hi team — I’m trying to debug and document a very large workflow and I’m hoping there’s a supported way to export it and also capture rich run traces.
My setup:
- One trigger point
- Many branches
- Roughly 100+ steps across branches
- Debugging is hard because failures can occur deep in different branches
What I’m looking for:
- Mass export of the workflow structure
- Ideally export the whole workflow (all branches and steps) in one shot, preferably as JSON or another portable format.
- Even a “read-only” export for documentation would help.
- Full run trace export with step inputs/outputs
- After a run, I want to retrieve step-level inputs and outputs across the entire workflow so I can see exactly where things diverge or fail.
- I’m less interested in a generic instruction view and more in concrete per-step I/O and the agent’s tool usage, responses, and intermediate artifacts.
A debugging discovery that might be relevant:
- If I open the run result in a new tab and check DevTools → Network → Fetch/XHR, then refresh, I can find a request called “Get Workflow Trace” (or similar). That response appears to contain the trace data the UI displays for each step.
- This has been helpful for smaller runs, but I’m not sure if there’s a supported way to do this for bigger runs or to export it cleanly.
Questions:
- Is there a supported way to export an entire workflow with all branches/steps at once? Or will this be added in the future?
- Is there a supported way (UI option, API, or endpoint) to export the complete run trace for larger workflows, including step inputs and outputs?
- Are there trace size limits, retention limits, or permissions that affect whether full traces are available for larger runs?
- If “Get Workflow Trace” is the right direction, is there recommended documentation or a stable API for it?