PATCH
/
aiAgent
/
{id}
curl --request PATCH \
  --url https://demo.enneo.ai/api/mind/aiAgent/{id} \
  --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

Path Parameters

id
string
required

The unique identificator of the AI Agent

Body

application/json
The new updated AI agent
id
integer

Unique identifier of the AI agent (unsigned integer)

Required range: x >= 0
Example:

1

tagId
integer

Category of this ai agent

Example:

41

channels
string[]

Channels this ai agent is available on

Example:
["all"]
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

Example:

"Change bank data (Code)"

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

Example:

"Customer wants to change his bank data"

appearance
object
exampleTicketIds
integer[]
Example:
[8, 26]
settings
object

Response

200
application/json
Intent description updated

Data format of Enneo success messages

success
boolean

Operation was successful

Example:

true