curl --request POST \
--url https://api.revring.ai/v1/test-suites/{id}/runs \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"testSuiteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "queued",
"totalTests": 123,
"passedTests": 123,
"failedTests": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"attempts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"testCaseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"testCaseName": "<string>",
"attemptNumber": 123,
"createdAt": "2023-11-07T05:31:56Z",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inboundCallId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"result": "pass",
"reasoning": "<string>",
"transcript": [
{}
],
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
]
}
}Start a new test run. This initiates real phone calls between a tester and the target agent for each test case. The suite must have at least one test case.
curl --request POST \
--url https://api.revring.ai/v1/test-suites/{id}/runs \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"testSuiteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "queued",
"totalTests": 123,
"passedTests": 123,
"failedTests": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"attempts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"testCaseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"testCaseName": "<string>",
"attemptNumber": 123,
"createdAt": "2023-11-07T05:31:56Z",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inboundCallId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"result": "pass",
"reasoning": "<string>",
"transcript": [
{}
],
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
]
}
}API key for authentication. Generate API keys from the RevRing dashboard.
Test suite ID
Test run name (optional, auto-generated if omitted)
128Test run started
A test run execution
Show child attributes