GET
/
aiAgents
/
tree
curl --request GET \
  --url https://demo.enneo.ai/api/mind/aiAgents/tree
{
  "aiAgentsTree": {
    "id": 123,
    "name": "Complaint",
    "fullName": "Second Level: Complaint",
    "parent": 6,
    "reference": "ticket",
    "type": "skill",
    "visibility": "public",
    "color": "grey",
    "properties": {},
    "complexity": "moderate",
    "sla": 8,
    "priority": "do-not-change",
    "channels": [
      "email",
      "chat"
    ],
    "subchannels": [
      2,
      4
    ],
    "detectionDetails": {},
    "assignment": [
      "assignBySubchannel",
      "assignByCustomLogic"
    ],
    "testCase": {},
    "modifiedBy": "John Doe",
    "modifiedAt": "2024-08-29 14:38:12",
    "aiAgents": [
      {
        "id": 1,
        "tagId": 41,
        "channels": [
          "all"
        ],
        "name": "Change bank data (Code)",
        "description": "Customer wants to change his bank data",
        "appearance": {},
        "exampleTicketIds": [
          8,
          26
        ],
        "settings": {}
      }
    ],
    "children": [
      {
        "id": 123,
        "name": "Complaint",
        "fullName": "Second Level: Complaint",
        "parent": 6,
        "reference": "ticket",
        "type": "skill",
        "visibility": "public",
        "color": "grey",
        "properties": {},
        "complexity": "moderate",
        "sla": 8,
        "priority": "do-not-change",
        "channels": [
          "email",
          "chat"
        ],
        "subchannels": [
          2,
          4
        ],
        "detectionDetails": {},
        "assignment": [
          "assignBySubchannel",
          "assignByCustomLogic"
        ],
        "testCase": {},
        "modifiedBy": "John Doe",
        "modifiedAt": "2024-08-29 14:38:12",
        "aiAgents": [
          {
            "id": 1,
            "tagId": 41,
            "channels": [
              "all"
            ],
            "name": "Change bank data (Code)",
            "description": "Customer wants to change his bank data",
            "appearance": {},
            "exampleTicketIds": [
              8,
              26
            ],
            "settings": {}
          }
        ]
      }
    ]
  }
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Query Parameters

limit
integer
default:
100

The number of items to return

Required range: 1 < x < 1000
offset
integer
default:
0

The number of items to skip

Required range: x > 0
categoryFilter
enum<string>

Filter criteria based on category. If ommited, only ai agents will be returned ("intent")

Available options:
all,
intent,
template
typeFilter
enum<string>

Filter criteria based on type of the executor. If ommited, all types are returned.

Available options:
sourceCode,
apiCall,
visualEditor
format
enum<string>

Output format. Either short (only name/id), medium (key facts) or full (all details). Defaults to full.

Available options:
short,
medium,
full
q
string

Search query for fulltext search in name and description fields. Results are ordered by relevance when search is used

Response

200
application/json
Successful operation
aiAgentsTree
object

Tag object with intent candidates inside