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-source
Identifies the product surface making the request
x-simulation-entry-point
Identifies the dashboard simulation flow
Request
This endpoint expects an object.
assistantId
ID of the assistant to generate scenarios for
squadId
ID of the squad to generate scenarios for
Response
scenarios
Generated scenarios
coverageNotes
Summary of test coverage