---
title: "Runs and traces"
description: "Follow a workflow run, inspect every step and understand failures."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ragna.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Runs and traces

Every run is recorded. A user can watch a run live, see what each step received and produced, and trace what an agent did along the way.

## Run history

Click **Runs** in the top bar, in the editor or in the run view, to open the list of runs in the side panel. Each run shows when it started, whether it was started by hand or on a schedule, how long it took and its status. A failed run also shows its error. The first words of the run input tell runs apart. Click a run to open it.

In the run view, the run on screen is highlighted in the list. The canvas stays usable while the list is open. Click another run and the canvas shows that run's badges.

| Status        | Meaning                                  |
| ------------- | ---------------------------------------- |
| **Pending**   | Queued, not started yet.                 |
| **Running**   | In progress.                             |
| **Completed** | Finished. The output is shown.           |
| **Failed**    | Stopped by an error. The error is shown. |
| **Cancelled** | A user stopped it.                       |

A notification arrives when a run finishes: **Workflow completed** or **Workflow failed**.

## The run view

Click a run to open it. The top bar reads **Workflows**, the workflow name (a link to the editor) and **Run of** with the date and time. On the right are **Runs** and, once the run is over, **Open editor**.

The canvas shows the published version the run used, even if the workflow was edited since. It cannot be edited, and it has no **+** buttons. Each step is colored by its status. Skipped steps are shown as **Skipped**. They sit on a condition branch that did not run. A chip at the top left shows the run's status, how it started (**By hand** or **On schedule**), when, and how long it took. While the run is going, the chip counts up, for example **running for 1 min 12 s**.

The side panel opens by itself when the run page opens. It shows the step that failed. Without a failed step it shows the step that is running, or else the last step that ran. If the panel is closed, it stays closed while the run updates. Opening another run from the list counts as a new visit.

Click a step to see its result in the side panel:

- The status, when the step started and how long it took.
- **Error**: why it failed, in words. Unknown errors show their raw message.
- **Input**: what the step received.
- **Output**: what it produced. Use **Copy output** to copy it.
- **Tools the agent used**: the tool calls of an agent step (see below).
- **This step didn't run.** appears for a step that never ran.

Use **Previous step** and **Next step**, or the arrow keys, to move between steps.

## Cancel a run

While a run is pending or running, **Cancel run** stops it. The step that is already running finishes, but no further step starts.

## Agent trace

Agent and team steps show **Tools the agent used** in the side panel. It lists every tool call in order, collapsed. Open a call to see its **Input**, **Output** and any **Error**. A step without tool calls shows no such section.

For a team step, the list also shows each delegation to a member. **Member tool calls** lists what the member did.

Use the trace to find out why an agent gave an answer or which tool failed.

## When a run fails

If a node fails, RAGNA Studio tries the run again. It makes up to three attempts in total. Nodes that already completed are not run again. The run resumes at the node that failed.

If the last attempt fails too, the run is marked **Failed**. The failed node shows the error. The run keeps the version of the workflow it started with.

There is no button to retry a failed run by hand. Fix the cause, then click **Run** again. This starts a new run from the beginning.

## Stuck runs

If a background service stops during a run, the run could stay open forever. RAGNA Studio checks every 15 minutes. It marks a run as **Failed** when it has been pending for more than one hour or running for more than two hours. This also frees a schedule that a stuck run was blocking. See [Triggers and schedules](https://docs.ragna.io/workflows/triggers).

Source: https://docs.ragna.io/workflows/runs/index.mdx
