Skip to main content
GET
/
test-suites
/
{id}
/
tests
/
{testId}
Get Test Case
curl --request GET \
  --url https://api.revring.ai/v1/test-suites/{id}/tests/{testId} \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "testSuiteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "script": "<string>",
    "scoringRubric": "<string>",
    "attemptsPerRun": 5,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "variables": {}
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Generate API keys from the RevRing dashboard.

Path Parameters

id
string<uuid>
required

Test suite ID

testId
string<uuid>
required

Test case ID

Response

Test case details

data
object

A test case within a test suite