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

# Restart a run at a task

> Restart a failed run at the task that failed, without repeating the earlier tasks.

A crew runs its tasks one after another, and a run stops at the first task that fails. You restart a run at the
failed task to try it again without repeating the tasks that already worked. NexusOne then starts a new run for the failed
task along with results from the earlier successful tasks.

## Prerequisites

Before starting this task, ensure you have the following:

* Required roles: `nx1_crew`.
* A failed run of a crew that you built on the canvas.

## Restart a run at a task

> [tab] Web portal
>
> Perform these steps to restart a run at a task:
>
> 1. Log in to NexusOne.
>
> 2. On the top navigation bar, hover your mouse over **Agents** and then select **Crews**.
>
> 3. Click **Runs**. A list of crews that contain runs appears.
>
> 4. In the list of crews, click the crew whose run you want to restart. A list of its runs opens.
>
> 5. In the list of runs, click the failed run, and then click the **Tasks** tab.
>
> 6. For the task that failed, click **Restart from this task**.
>
> 7. Optional: To restart from the **Debug** tab instead, click the task that failed, and then click
>    **Rerun this task**.
>
> > [!NOTE]
> >
> > A restarted run runs as you, with the access you have now. If an agent in a crew changed since its original
> > run, then NexusOne shows an error. It doesn't switch to the changed agent.

> [tab] REST API
>
> Use the following API endpoints to restart a run at a task:
>
> * [List a run's tasks](https://docs.nx1cloud.com/api-reference/endpoints/crew-runs/list-a-runs-tasks.md)
> * [Restart a run at a task](https://docs.nx1cloud.com/api-reference/endpoints/crew-runs/restart-a-run-at-a-task.md)

## Additional resources

* For a high-level overview of crews and how they're used in NexusOne, refer to
  [Crews](https://docs.nx1cloud.com/documentation/agents/overview/crews.md).


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