POST
/
aiQualityCheck
/
testCase
/
{aiAgentId}
curl --request POST \
  --url https://demo.enneo.ai/api/mind/aiQualityCheck/testCase/{aiAgentId} \
  --header 'Content-Type: application/json' \
  --data '{
  "ticketIds": [
    233,
    237,
    238
  ]
}'
{
  "createdTestCases": [
    {
      "id": 123,
      "ticketId": 123,
      "aiAgentId": "<string>",
      "channel": "<string>",
      "summary": "<string>",
      "description": "<string>",
      "expectedResult": {},
      "modifiedBy": 123
    }
  ]
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Path Parameters

aiAgentId
string
required

Body

application/json
ticketIds
integer[]

The ids of the tickets to add as test cases for the respective AI agent

Response

200 - application/json
Successful operation
createdTestCases
object[]

Represents a test case for AI quality checks. Represents a "test case": A ticket that is assigned to an AI agent with an expected result. During a specific test run, every test case is individually tested and the result is saved as a "test ticket". So if we have 10 test cases for an ai agent and 5 test runs, we will have 10*5=50 test tickets for that ai agent.