Run evaluators against an agent over any transport
Changed onStart evaluator runs against an agent. Pick how the simulated user reaches the agent with transport; it must be one of the agent's enabled_connections (see aiagents_retrieve), and a transport that is not enabled is rejected with the list of enabled ones. Fields that belong to another transport are rejected.
Scenario selection (pick one): scenarios (evaluator IDs), tags, or folder_path with project_id. websocket and pipecat_v1 take their evaluators inside websocket_urls / pipecat_rooms instead, one entry per evaluator with its own URL.
Run-count math: total runs = len(scenarios) × frequency × max(1, len(personality_ids)) × max(1, len(test_profile_ids)). text, email and websocket runs bill at the text-simulation rate; every other transport places a voice call and bills at the voice rate.
Polling for completion: the response is the result itself — read its top-level id. Poll GET /test_framework/v1/results/{result_id}/ until status is completed, failed, timeout or cancelled. Check failed_reasons for infrastructure errors and runs[].error_message for per-run errors.
Request
- Base URLhttps://api.cekura.ai
- URLhttps://api.cekura.ai/test_framework/v2/scenarios/run/
- Auth
- API key in header X-CEKURA-API-KEY
- or HTTP bearer
- or HTTP bearer
Request body
Response
Changes
- info
endpoint added
- info