curl --request PATCH \
--url https://demo.enneo.ai/api/mind/aiQualityCheck/testCase/{testCaseId} \
--header 'Content-Type: application/json' \
--data '{
"description": "Updated test case for bank data change",
"expectedResult": {
"contractId": 715382,
"sentiment": "disappointed"
}
}'
{
"success": true,
"id": 123,
"ticketId": 123,
"aiAgentId": "<string>",
"channel": "<string>",
"summary": "<string>",
"description": "<string>",
"expectedResult": {},
"modifiedBy": 123
}
Cookie-based authentication
Successful operation
Data format of Enneo success messages 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.
curl --request PATCH \
--url https://demo.enneo.ai/api/mind/aiQualityCheck/testCase/{testCaseId} \
--header 'Content-Type: application/json' \
--data '{
"description": "Updated test case for bank data change",
"expectedResult": {
"contractId": 715382,
"sentiment": "disappointed"
}
}'
{
"success": true,
"id": 123,
"ticketId": 123,
"aiAgentId": "<string>",
"channel": "<string>",
"summary": "<string>",
"description": "<string>",
"expectedResult": {},
"modifiedBy": 123
}