v3
OpenAPI 3.1.02026-07-31350397683.8 KBRegen Test Scenarios Endpoint
Regenerates test scenarios based on custom instructions while preserving style and structure.
Accepts a request with the following structure: { agent: Agent; promptId?: string; knowledgeBaseId?: string; scenarios: TestScenario[]; instructions: string; persona?: CustomerPersona; }
post/v1/regen-test-scenarios
Headers
X-API-Keystring required
API key required to authenticate requests.
Response
Successful Response
{"stackTrail":"paths:/v1/regen-test-scenarios:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}