GET
/
tag
/
tree
curl --request GET \
  --url https://demo.enneo.ai/api/mind/tag/tree
[
  {
    "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",
    "assignment": [
      "assignBySubchannel",
      "assignByCustomLogic"
    ],
    "testCase": {},
    "modifiedBy": "John Doe",
    "modifiedAt": "2024-08-29 14:38:12",
    "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"
      }
    ]
  }
]

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Query Parameters

type
enum<string>

Show only tags of a specific type

Available options:
skill,
product,
brand,
customerProperty,
contractProperty,
other
includeDisabled
boolean

Also include disabled intents

Response

200
application/json
Successful operation
id
integer | null

Internal id, e.g. 123

name
string

e.g. "Complaint"

fullName
string

The full name when not shown in a tree

parent
integer | null

The id of the parent tag. null if on root level. Can be created to create the tree structure of tags

reference
enum<string>

To what this tag can be assigned to

Available options:
ticket,
contract,
customer
type
enum<string>

Type of the tag

Available options:
skill,
product,
brand,
customerProperty,
contractProperty,
other
visibility
enum<string>
default:
public

Visibility of the tag

Available options:
public,
private,
disabled
color
enum<string>
default:
grey

Color of the tag. Default is grey

Available options:
grey,
green,
red,
blue,
yellow,
purple,
orange,
teal
properties
enum<string>[]

An array of strings that specify special properties. Currently only ['defaultSkill'], if this tag should be assigned if no skill was found

Available options:
defaultSkill
complexity
string

The complexity of the tag

sla
number | null

SLA in business hours. So if we have business hours from 9-17h, an 8 hour SLA means ticket has to be solved within one day. NULL means no SLA is assigned.

priority
enum<string>

The priority of the tag

Available options:
do-not-change,
low,
medium,
high
assignment
enum<string>[]

Specifies how this tag is being assigned. The details in the assignment are specified in the settings page of the tag. So for example 'assignBySubchannel', 'assignByCustomLogic' means this tag is auto-assigned for certain subchannels, and using a custom logic defined in an executor.

Available options:
assignByChannel,
assignBySubchannel,
assignByTicketProperty,
assignByContractProperty,
assignByCustomerProperty,
assignByCustomLogic,
assignByAI
testCase
object

Test case for the tag

modifiedBy
string

The user that last modified the tag

modifiedAt
string

The date and time when the tag was last modified

children
object[]

Tag object