API Dokumentation
ticket
- GETGet next ticket id to work on
- POSTGet a list of tickets
- POSTCreate a ticket
- PATCHUpdate a few tickets at once
- GETGet a ticket
- PATCHUpdate a ticket
- GETGet ticket variables
- GETGet a tickets history
- POSTForward a ticket
- POSTAuto-execute a ticket
- GETPing a ticket
- GETGet ticket activity
- GETGet ticket stats
- GETGet agent queue status
customer
intent
aiAgent
- GETList of all available AI agents as an array
- GETList of all available AI agents as an tree based on associated tag
- POSTLoad enneo default AI Agents
- POSTCreate a new aiAgent
- GETGet an AI Agent by id
- DELDelete an existing AI Agent
- PATCHUpdate an existing AI Agent
- GETGet similar tickets for an AI Agent
- POSTPreview an AI Agent
- POSTGet the outcome of an AI Agent
aiQualityCheck
- GETGet all test runs with pagination
- POSTSchedule a new AI quality check
- GETGet a specific test run by ID
- DELDelete a specific test run by ID
- PATCHUpdate the expected result of a test ticket
- PATCHAccept the expected result of a test ticket
- POSTAccept ALL the expected results of for a test run
- GETGet all AI agents for which test runs can be triggered
- GETGet all AI agents for which test runs can be triggered
- GETGet test cases by AI agent ID
- POSTAdd test cases for an AI agent
- DELDelete a test case by ID
- PATCHUpdate a test case by ID
intentTemplate
profile
team
reminder
settings
- GETGet settings of a client
- POSTUpdate multiple settings at once
- GETGet settings of a client and return the results in a compact form
- GETGet settings of a client in a grouped way for a category
- PUTUpdate setting
- GETSearch settings
- GETGet Subchannels
- POSTAdd a new Subchannel
- DELDelete a Subchannel
- GETGet User Defined Functions
- POSTAdd a new User Defined Function
- DELDelete a User Defined Function
- GETRedirect to Microsoft authorization page
- GETCallback for Microsoft authorization
tag
cron
version
knowledgeSourceStructure
knowledgeSource
pcProxy
cortex
Add test cases for an AI agent
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
Cookie-based authentication
Path Parameters
Body
The ids of the tickets to add as test cases for the respective AI agent
Response
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.
The ID of the test case. Null if not yet saved.
The ID of the ticket that is being tested
The id code of the AI agent that is being tested, e.g. updated_bank_data
The channel of the ticket, e.g. email, phone, chat, etc. Pulled from ticket.channel
The summary of the ticket. Pulled from ticket.summary
A short description of the test case. Null if not yet set.
The expected result of the test case
The user ID of the user who last modified the test case
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
}
]
}