Generate Scenarios with AI

Generates scenarios for an assistant or squad by analyzing its configuration with AI.

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.

Headers

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

Request

This endpoint expects an object.
assistantIdstringOptional
ID of the assistant to generate scenarios for
squadIdstringOptional
ID of the squad to generate scenarios for

Response

scenarioslist of objects
Generated scenarios
coverageNotesstring
Summary of test coverage