Create scenarios from call logs
Changed onGenerate test scenarios from real production call logs.
Returns a progress_id immediately — the actual scenario creation runs in the background. Poll GET /observability/v1/call-logs/create_scenarios_progress?progress_id=<id> until completed_scenarios + failed_scenarios >= total_scenarios. The scenarios_list field (full Scenario objects) is populated only once processing is complete.
call_logs accepts: a list of IDs [1, 2, 3] or "all" for every call log on the agent.
copy_to_agent: optionally copy the generated scenarios to a different agent — useful when your observation agent and your test agent are separate.
Prerequisite: call logs must have a transcript (uploaded via transcript_json). Audio-only logs without a transcript cannot produce scenarios.
Request
- Base URLhttps://api.cekura.ai
- URLhttps://api.cekura.ai/observability/v2/call-logs/create_scenarios/
- Auth
- API key in header X-CEKURA-API-KEY
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Request body
Response
Changes
- info
endpoint added
- info