Skip to main content
GET
/
aiQualityCheck
/
testCase
/
{id}
Get test cases for a specific AI agent
curl --request GET \
  --url https://demo.enneo.ai/api/mind/aiQualityCheck/testCase/{id} \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "ticketId": 123,
    "aiAgentIds": [
      1,
      2,
      3
    ],
    "channel": "<string>",
    "summary": "<string>",
    "description": "<string>",
    "expectedResult": {},
    "modifiedBy": 123
  }
]

Authorizations

Authorization
string
header
required

JWT-based authentication

Path Parameters

id
string
required

The AI agent ID (can be numeric or 'all')

Response

200 - application/json

Successful operation

id
integer | null

The ID of the test case. Null if not yet saved.

ticketId
integer | null

The ID of the ticket that is being tested (null for chat/voice tests)

aiAgentIds
integer[]

Array of AI agent IDs for reference only (indicates which agents this test case is meant for). Does not affect the number of test tickets created.

Example:
[1, 2, 3]
channel
string | null

The channel of the test case (email, chat, or phone)

summary
string | null

The summary of the ticket. Pulled from ticket.summary

description
string | null

A short description of the test case. Null if not yet set.

expectedResult
object | null

The expected result of the test case

modifiedBy
integer | null

The user ID of the user who last modified the test case