Zum Hauptinhalt springen
PATCH
/
aiAgent
/
{id}
Update an existing AI Agent
curl --request PATCH \
  --url https://demo.enneo.ai/api/mind/aiAgent/{id} \
  --header 'Authorization: Bearer <token>' \
  --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
}

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Pfadparameter

id
string
erforderlich

The unique identificator of the AI Agent

Body

application/json

The new updated AI agent

id
integer<int32>

Unique identifier of the AI agent (unsigned integer)

Erforderlicher Bereich: x >= 0
Beispiel:

1

tagId
integer

Category of this ai agent

Beispiel:

41

channels
string[]

Channels this ai agent is available on

Beispiel:
["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

Beispiel:

"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

Beispiel:

"Customer wants to change his bank data"

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

Antwort

Intent description updated

Data format of Enneo success messages

success
boolean

Operation was successful

Beispiel:

true