curl --request POST \
--url https://demo.enneo.ai/api/mind/aiAgent/{id}/preview \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"tagId": 41,
"channels": [
"all"
],
"name": "Change bank data (Code)",
"description": "Customer wants to change his bank data",
"appearance": {},
"exampleTicketIds": [
8,
26
],
"settings": {},
"previewType": "<string>",
"message": "<string>",
"subject": "<string>",
"sender": "<string>",
"history": [
{}
]
}'
{
"success": true,
"error": null,
"dataOutcome": {},
"dataOutcomeInfo": "<string>",
"customerOutcome": {},
"customerOutcomeType": "<string>",
"customerOutcomeInfo": "<string>",
"curlRequests": []
}
Cookie-based authentication
The id of the AI Agent that should be retrieved
The ticketId for which to tailor the response to. A future release will also support an intent preview without linking it to a ticketId
The new updated AI agent
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://demo.enneo.ai/api/mind/aiAgent/{id}/preview \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"tagId": 41,
"channels": [
"all"
],
"name": "Change bank data (Code)",
"description": "Customer wants to change his bank data",
"appearance": {},
"exampleTicketIds": [
8,
26
],
"settings": {},
"previewType": "<string>",
"message": "<string>",
"subject": "<string>",
"sender": "<string>",
"history": [
{}
]
}'
{
"success": true,
"error": null,
"dataOutcome": {},
"dataOutcomeInfo": "<string>",
"customerOutcome": {},
"customerOutcomeType": "<string>",
"customerOutcomeInfo": "<string>",
"curlRequests": []
}