POST
/
aiAgent
curl --request POST \
  --url https://demo.enneo.ai/api/mind/aiAgent \
  --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": {}
}'
{
  "success": true
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/json
The new AI Agent that should be created. If not defined, then a blank "new ai agent" will be created
id
integer

Unique identifier of the AI agent (unsigned integer)

Required range: x > 0
tagId
integer

Category of this ai agent

channels
string[]

Channels this ai agent is available on

name
string

The name of the AI agent visible to the user. It is also used by the LLM to validate if the intent is correctly identified

description
string

The description of the AI agent as defined by the user. It is also used by the LLM to validate if the intent is correctly identified

appearance
object
exampleTicketIds
integer[]
settings
object

Response

200
application/json
New intent created

Data format of Enneo success messages

success
boolean

Operation was successful