AI Tests

List test run results

Changed on

Returns a paginated list of test run batches in your organization, optionally filtered by test agent, search text, or scenarios.

get/ai/tests/test_framework/v1/results

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/ai/tests/test_framework/v1/results
  • Auth: HTTP bearer

Query parameters

pageinteger

Page number (1-based).

page_sizeinteger

Number of results per page.

agent_idinteger

Filter results belonging to the specified test agent.

searchstring

Filter results by a search string.

scenariosstring

Filter results by a comma-separated list of scenario IDs.

Response

Paginated list of test run batches.

countinteger
nextstring uri nullable required
previousstring uri nullable required

Example response

{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "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