AI Tests
Rerun a test run result
Changed onRe-executes the scenarios of the specified test run batch and creates a new run batch.
post/ai/tests/test_framework/v1/results/{id}/rerun
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/ai/tests/test_framework/v1/results/{id}/rerun
- Auth: HTTP bearer
Path parameters
idinteger required
Numeric ID of the test run batch to rerun.
Response
New test run batch created.
Example response
{
"id": 10119,
"name": "Refund escalation flow - run",
"agent": 1259,
"agent_name": "Support Bot Under Test",
"agent_inbound": false,
"status": "completed",
"success_rate": 0.8,
"run_as_text": false,
"is_cronjob": false,
"runs": null,
"met_expected_outcome_count": 4,
"total_expected_outcome_count": 5,
"total_runs_count": 5,
"completed_runs_count": 5,
"success_runs_count": 4,
"failed_runs_count": 1,
"scenarios": [
{
"id": 9512,
"name": "Refund escalation flow"
}
],
"run_type": "scheduled",
"created_at": "2026-10-13T18:04:05.123456Z",
"updated_at": "2026-10-13T18:34:05.123456Z"
}Changes
- info
endpoint added
- info