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

# Retry a failed evaluation

> Create a successor for an evaluation with missing detector results.

Retrieve the failed or partial evaluation and inspect `error` and `detectors`. Call the retry method when one or more requested detectors failed.

<Tabs>
  <Tab title="TypeScript">
    ```ts theme={null}
    const previous = await galileo.evaluations.retrieve("eval_123");
    const next = await galileo.evaluations.retry(previous.id);
    const settled = await galileo.evaluations.waitUntilSettled(next.id);
    ```
  </Tab>

  <Tab title="Python">
    ```python theme={null}
    previous = galileo.evaluations.retrieve("eval_123")
    next_evaluation = galileo.evaluations.retry(previous.id)
    settled = galileo.evaluations.wait_until_settled(next_evaluation.id)
    ```
  </Tab>
</Tabs>

The retry endpoint returns the new evaluation, which is the link between the two
— there is no field to follow. What the new run does carry is `attempt`: 2 on the
first retry, and higher after that. There is a ceiling, so a clip that keeps
failing under the same instructions stops being retryable rather than being
retried forever.

Repeated retry calls for the same evaluation return the same successor. The endpoint charges the normal evaluation price; failed detector work is refunded when the previous evaluation settles.
