Voice Agent Testing
Generate Default Test Suite
Auto-Generate Test Suite
Requires the OWNER or ADMIN role. Uses the agent's own instructions and knowledge base to generate a default set of scenarios via an LLM call, then overwrites the suite's scenarios array with the result (upserting the suite if none exists). maxCostPerRun and the auto-run flags are left untouched.
post/voice/testing/{agentId}/suite/generate
Request
- Base URL: https://api.speakai.co/v1
- URL: https://api.speakai.co/v1/voice/testing/{agentId}/suite/generate
- Auth: API key in header x-speakai-key and API key in header x-access-token
Path parameters
agentIdstring required
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.