Draft simulation requirements
Drafts the behaviours an assistant must get right, as numbered requirements plus open questions, from its prompt, tools and handoffs. This is the first step of building a simulation suite.
- Show the draft to your user and ask its open questions.
- To revise it, call again with
previousDraftset to the draft andfeedbackset to what the user said, verbatim. Repeat until they agree. - Generate the suite from the agreed requirements with
POST /eval/simulation/onboarding/suite.
Takes up to 2 minutes. Each org can draft 60 times per UTC day, shared with the dashboard. On a 429 SIMULATION_ONBOARDING_QUOTA_EXCEEDED, don’t retry: tell your user the limit resets at 00:00 UTC.
Authentication
Authenticate server-side requests with a private Vapi API key. Create or copy a key from the Vapi Dashboard and send it in the Authorization header as Bearer <token>. Keep private API keys out of client-side code and public repositories.
Request
The draft being revised, exactly as this endpoint returned it. Send it with feedback.
What your user wants changed in previousDraft, in the user’s own words. Send it with previousDraft.