Evaluators
Start customer-driven (API chat) evaluator runs
Changed onAPI CHAT RUN (pull mode): open one or more chat conversations that YOU drive turn-by-turn over REST — Cekura plays the simulated user, you play the agent under test. No agent connection is dialed; there is no server-side conversation loop, so a conversation can span minutes or up to an hour with turns arbitrarily far apart.
Run-count: total conversations = len(scenarios) × frequency.
Driving each run (the response result.runs[].id are the run IDs):
- If the scenario has a first message, the simulated user speaks first — read it from the run transcript. Otherwise you speak first.
- POST /runs/{run_id}/chat/ with your agent's message → returns a turn_id.
- Poll GET /runs/{run_id}/chat/{turn_id}/ until status is ready to read the reply.
- Repeat until ended is true, or call POST /runs/{run_id}/end-chat/.
timeout is the overall run timeout: each conversation is finalized and scored automatically once it elapses (defaults to the project's duration, capped at 1 hour).
post/test_framework/v1/scenarios/run_scenarios_api_chat/
Request
- Base URLhttps://api.cekura.ai
- URLhttps://api.cekura.ai/test_framework/v1/scenarios/run_scenarios_api_chat/
- Auth
- API key in header X-CEKURA-API-KEY
- or HTTP bearer
- or HTTP bearer
Request body
Response
Changes
- info
endpoint added
- info