Context
We use Mastra Cloud with a workflow that runs correctly and sends emails. Runs are marked as "success" in the UI.
Problem
When we click "Open Workflow Execution (JSON)" in Mastra Studio for a successful run, the result area is empty or only shows {"steps": {}}. We cannot see the execution details of the steps in the UI.
Workaround
The data is available via the API.
A GET request to:
/api/workflows/{workflowId}/runs/{runId}/execution-result
returns the full JSON (several MB in our case) with:
status: "success"
result containing the workflow output
steps populated with each step’s output
Hypotheses :
1. UI bug: The modal may not fetch or render the data even though it exists in the API.
2. Payload size: The response is large (many items with nested data). Large JSON might cause parsing or rendering issues in the modal.
3. Timing/loading: The modal might render before the data has loaded, or the API call might fail without a visible error.
Environment
Mastra Cloud (BETA)
Authentication via Access Token
Question
Can you look into why the "Workflow Execution (JSON)" modal stays empty in Mastra Cloud Studio while the API returns the data correctly? Thank you.