Cancel Simulation Run

Cancels the specified simulation run.

Authentication

AuthorizationBearer
Authenticate server-side requests with a private Vapi API key. Create or copy a key from the [Vapi Dashboard](https://dashboard.vapi.ai) and send it in the `Authorization` header as `Bearer <token>`. Keep private API keys out of client-side code and public repositories.

Path parameters

idstringRequiredformat: "uuid"
The unique identifier of the simulation run.

Headers

x-client-sourcestringOptional
Identifies the product surface making the request
x-simulation-entry-pointstringOptional
Identifies the dashboard simulation flow

Response

idstringformat: "uuid"
Unique identifier for the run
orgIdstringformat: "uuid"
Organization ID
statusenum

The run’s current status. One of queued, running, or ended.

queuedAtdatetime
When the run was queued
createdAtdatetime

ISO 8601 date-time when created

updatedAtdatetime

ISO 8601 date-time when last updated

simulationslist of objects
The simulations and suites included in the run.
targetobject
The assistant or squad the run was tested against.
startedAtdatetimeOptional
When the run started
endedAtdatetimeOptional
When the run ended
endedReasonstringOptional
Why the run ended, when applicable.
itemCountsobjectOptional
Aggregate counts of the run's items by status.
iterationsdoubleOptional>=1Defaults to 1
The number of times each simulation was run. Defaults to 1.
transportobjectOptional
The transport used for the run, either voice or chat.