GET
/
test_cases
/
{test_case_id}
curl --request GET \
  --url https://app.kapso.ai/api/v1/test_cases/{test_case_id} \
  --header 'X-API-Key: <api-key>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "Greeting Test",
    "description": "Tests the agent's greeting response",
    "script": "Ask the agent to introduce itself",
    "rubric": "The agent should respond with a polite introduction",
    "test_suite_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-Key
string
header
required

API key required for all endpoints

Path Parameters

test_case_id
string
required

Response

200
application/json

Test case details

The response is of type object.