Skip to main content
GET
/
v1
/
projects
/
{projectId}
/
test-cases
/
{testCaseId}
Get test case
curl --request GET \
  --url https://api.pathors.com/v1/projects/{projectId}/test-cases/{testCaseId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "projectId": "<string>",
    "name": "<string>",
    "systemPrompt": "<string>",
    "maxTurns": 123,
    "variables": {},
    "acceptanceCriteria": [
      {
        "id": "<string>",
        "testCaseId": "<string>",
        "description": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Developer key created from the dashboard (Settings → Developer Keys)

Path Parameters

projectId
string
required

The ID of your project

testCaseId
string
required

The test case ID

Response

OK

data
object
required