curl --request POST \
--url https://api.cekura.ai/test_framework/v1/scenarios/run_scenarios_email/ \
--header 'Content-Type: application/json' \
--header 'X-CEKURA-API-KEY: <api-key>' \
--data '
{
"agent_id": 99,
"scenarios": [
102
],
"frequency": 1
}
'{
"id": 453,
"agent": 99,
"agent_inbound": true,
"status": "running",
"run_as_text": true,
"runs": [
{
"id": 22019,
"status": "running",
"scenario": 102,
"inbound_number": null,
"inbound_email": null,
"scenario_name": "Customer support scenario"
}
],
"created_at": "2026-06-22T09:00:00Z"
}Run Evaluator Email
Execute evaluators against an email agent. Cekura sends an email to the agent and simulates the full conversation via inbound webhook.
curl --request POST \
--url https://api.cekura.ai/test_framework/v1/scenarios/run_scenarios_email/ \
--header 'Content-Type: application/json' \
--header 'X-CEKURA-API-KEY: <api-key>' \
--data '
{
"agent_id": 99,
"scenarios": [
102
],
"frequency": 1
}
'{
"id": 453,
"agent": 99,
"agent_inbound": true,
"status": "running",
"run_as_text": true,
"runs": [
{
"id": 22019,
"status": "running",
"scenario": 102,
"inbound_number": null,
"inbound_email": null,
"scenario_name": "Customer support scenario"
}
],
"created_at": "2026-06-22T09:00:00Z"
}Authorizations
API Key Authentication. It should be included in the header of each request.
Body
List of evaluator IDs to run.
Number of times to run each scenario.
1 <= x <= 100ID of the agent to run against. Required if none of the scenarios have an agent.
Most calls started per second for this run, a number from 0.1 to 4 (e.g. 0.5 starts one call every 2 seconds). Leave unset for no limit.
0.1 <= x <= 4Override the agent's configured email address for this run.
Response
Name of the Result
Example: "Test Result 1"
255Unique identifier for the Result
Example: 123
ID of the AI agent that was tested
Example: 123
Whether the agent is configured for inbound calls (true) or outbound calls (false)
Example: true or false
Current status of the result
running- Runningcompleted- Completedfailed- Failedpending- Pendingin_progress- In Progressevaluating- Evaluatingin_queue- In Queuetimeout- Timeoutcancelled- Cancelledscaling_up- Scaling Up
running, completed, failed, pending, in_progress, evaluating, in_queue, timeout, cancelled, scaling_up Percentage of runs that passed, 0 to 100
Whether this test was run in text mode instead of voice mode
Example: true or false
Whether this result was created by a scheduled cronjob
Example: true or false
Run summaries for this result. For full run data including transcripts and metric scores, fetch the result detail endpoint — there runs is a dict keyed by run ID.
Show child attributes
Show child attributes
Timestamp when this test result was created
Example: 2021-01-01 00:00:00
Timestamp when this test result was last updated