Get test suite run history
GET/ai/assistants/tests/test-suites/:suite_name/runs
Retrieves paginated history of test runs for a specific test suite with filtering options
Request
Path Parameters
suite_name Suite Namerequired
Query Parameters
status Status
Filter runs by execution status (pending, running, completed, failed, timeout)
test_suite_run_id Test Suite Run Id
Filter runs by specific suite execution batch ID
page[size] Page[Size]
Possible values: >= 1
and <= 100
Default value: 20
Number of test runs to return per page (1-100)
page[number] Page[Number]
Possible values: >= 1
Default value: 1
Page number to retrieve (1-based indexing)
Responses
200: Returns paginated list of test runs within the specified suite
- application/json
422: Validation Error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/ai/assistants/tests/test-suites/:suite_name/runs' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"meta": {
"total_pages": 0,
"total_results": 0,
"page_number": 0,
"page_size": 0
},
"data": [
{
"run_id": "987fcdeb-51a2-43d1-b456-426614174000",
"test_id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"triggered_by": [
"manual",
"cron"
],
"completed_at": "2024-07-29T15:51:28.071Z",
"logs": "string",
"conversation_id": "string",
"conversation_insights_id": "string",
"test_suite_run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": [
"2024-01-15T10:30:00Z"
],
"updated_at": "2024-07-29T15:51:28.071Z",
"detail_status": [
{
"name": "string",
"status": "pending"
}
]
}
]
}
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}