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

# roark simulation plan job rescore

> Re-score a simulation run

Grade a finished run's calls again, without placing new calls: the same calls, graded on the run plan's metrics as they are now. Metrics on the plan grade every call of the run, metrics attached to a flow grade that flow's calls, each at its current version, and Agent Expectations grades against the flows' current expectations. Use it after changing a plan's metrics, a metric, or a flow's expectations, to see how the run you already have scores against them. The metrics graded are listed in `metrics` and become the run's metric set: the run's results, checks and report read them from then on. The new values replace the run's current ones; earlier values stay in each metric value's history. The grading is billed like any metric collection. A run is re-scored one at a time: while one re-score runs, another is refused with 409. Returns immediately. Poll GET /v1/simulation/plan/job/\{jobId}/rescore until `status` is COMPLETED or FAILED, then read the new values from GET /v1/simulation/plan/job/\{jobId}/results.

```bash Synopsis theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark simulation plan job rescore <job-id> [options]
```

> [!NOTE]
>
> Calls `POST /v1/simulation/plan/job/{jobId}/rescore`

## Arguments

**job-id** `string` *required*

The job-id.

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark simulation plan job rescore <job-id>
```

Every command also takes the [global options](https://docs.roark.ai/cli-reference/overview.md#global-options) and sets one
of the [exit codes](https://docs.roark.ai/cli-reference/overview.md#exit-codes).


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