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

# Runs and recovery

> Every run records each step’s input, output and error. Cancel a run, run it again from a step, or rerun every failed run after a fix.

> [!TIP]
>
> **Live.** This area is documented as current, user-reliable behavior.

## Goal

Read what happened in a run and recover from failures.

## Prerequisites

* An automation that has run.

## Workflow

**Step 1**

Open Runs, or the Runs list inside the automation.

**Step 2**

Open a run to see each step’s status, input, output and error.

**Step 3**

Fix the cause, then choose Run again from this step, or rerun all failed runs since a time.

## Statuses

* Runs: queued, running, waiting, completed, failed, canceled, declined.
* Steps: pending, running, waiting, completed, failed, skipped.
* Each run shows its number, whether it was a test, who or what started it, and the trigger, including the event type and id for event runs.

## When a step is not allowed

A run that fails with Not allowed shows which action it needed. Owners and Admins can add the action from the Stackie note on the run, then run the failed runs again.

## Recover

* Run again from this step reuses the saved outputs of earlier steps.
* Rerun failed runs starts again every failed run since a time, from a step you choose.
* Cancel stops a running or waiting run.

## Expected result

> [!TIP]
>
> The fixed run completes without repeating the steps that already succeeded.

## Related guides

> [card] [What an automation can do, and approvals](https://docs.stackshift.cloud/automations/access-and-approvals.md)
>
> Each automation has its own allowed actions. Steps that ask first or are destructive pause for an Owner or Admin, for up to 7 days.

> [card] [Automations API and CLI](https://docs.stackshift.cloud/automations/api-and-cli.md)
>
> Create, run, approve and inspect automations under /api/v1/automations, with the JavaScript and Go SDKs, or with stackshift automations.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.