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

# Rerun Simulation Call

> Run one simulated call again with its stored caller audio, against a draft of the agent

> [!NOTE]
>
> AI Simulation needs an active **Pro** or **Business** plan. On another plan, every simulation endpoint returns `403 POLICY_DENY`.

Run one call of a run again, using the caller audio stored for it, against a draft of the agent. Create the draft first with [Create a simulation draft](https://docs.60db.ai/api-reference/agents/create-simulation-draft.md). If no audio is stored for the call, the answer is `404`.

## Request

### Headers

**Authorization** `string` *required*

Bearer token with your API key (scope `agents`)

### Path

**runId** `string` *required*

The simulation run `run_id` (UUID) from [Start a simulation](https://docs.60db.ai/api-reference/agents/start-simulation.md)

**callId** `string` *required*

The `call_id` of the call in the run

### Body

**draft\_id** `string` *required*

The draft of this run, from [Create a simulation draft](https://docs.60db.ai/api-reference/agents/create-simulation-draft.md)

The credit limit for the one call is set by the server.

## Response

**201 Created**.

```json theme={null}
{ "run_id": "6f1c1e2a-3333-4000-8000-000000000003", "baseline_run_id": "6f1c1e2a-1111-4000-8000-000000000001", "draft_id": "d_8f2" }
```

## Errors

| Status | Code | Meaning |
| - | - | - |
| 403 | `POLICY_DENY` | Your role cannot do this, the workspace is not on an active Pro or Business plan, or the API key lacks the `agents` scope |
| 400 | `VALIDATION_ERROR` | The body has no `draft_id` |
| 404 | `RUN_NOT_FOUND` | No run with this ID in your workspace |
| 404 | `DRAFT_NOT_FOUND` | The run has no draft, or `draft_id` is not this run's draft |
| 404 | `NOT_FOUND` | No caller audio is stored for this call |
| 429 | `TOO_MANY_RUNS` | A simulation is already running or paused in this workspace. One runs at a time. |

## Example

```bash cURL theme={null}
curl -X POST https://api.60db.ai/agents/simulations/RUN_ID/calls/CALL_ID/rerun \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"draft_id": "d_8f2"}'
```


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