Simulations quickstart
In about 10 minutes, you’ll run an AI tester through an appointment-booking conversation with Riley and get a pass or fail result. You’ll also have a reusable simulation suite that you can run again after any change.
What you’ll build
A reusable simulation suite that asks an AI tester to book an appointment with Riley, Vapi’s appointment-scheduler template assistant. A Boolean evaluation checks whether Riley books the appointment for next Monday at 2:00 PM.
Prerequisites
- A Vapi account.
You create Riley and the structured output during this quickstart.
Build and run a simulation
Dashboard
cURL
Create Riley from the appointment-scheduler template
In the Vapi Dashboard, go to Assistants. Open the arrow next to Create Assistant, then select Appointment Scheduler. Vapi creates Riley immediately.
Create a simulation suite
Open Simulations, then select Suites. Select Create suite, give the suite a name, add Riley under Assistants or squads, then select Next.
A suite opens in view mode. To change it, open the suite and select Edit in the top-right corner.

Configure the scenario
The suite opens with its first simulation. In the Scenario tab, enter Book an appointment as the Scenario name. Paste the following text into Intent:
A suite can contain multiple simulations, each with its own scenario and personality. Select Add simulation in the suite editor to add another simulation.

Choose a personality
Open the Personality tab and select a built-in personality marked (Default). Keep its behavior and advanced settings unchanged for this first simulation.

Add success criteria
Select Next. On the Success criteria tab, select Create structured output and configure this structured output:
You must add at least one structured output before you can run a simulation.
Save and run
Select Save & run. In Run suite, confirm Riley, choose a mode, and set Iterations to 1:
Runs faster and costs less because it skips audio evaluation.
Tests the complete audio experience at about twice the cost.
Select Confirm to start the run.

Review results
Wait for the run to move through queued, running, and ended, then select View results to see what passed or failed.
To find the run later, open Simulations, then select Runs. Your run appears with its Status and Simulation result, along with the suite name, iterations, Riley, and run date. Filter by time range, status, or assistant or squad, then select the suite name to open the results.
The header shows Riley, the mode, run date, and overall result (Passed or a count such as 1/1 failed). The list on the left shows one result for each simulation and iteration. Select a result to review it:
The Success criteria panel appears next to the Transcript. The appointment_booked evaluation passes when Riley books the appointment for next Monday at 2:00 PM. The transcript lists the conversation turn by turn between the AI tester and Riley.

Select Rerun to run the suite again.
Next steps
Configure AI testers, variables, tool mocks, webhooks, and structured outputs.
What Simulations are and when to use them over Evals.
Define the structured outputs your evaluations check against.
Edit suites, review and rerun results, and maintain test coverage.