GET
/
intent
/
list
curl --request GET \
  --url https://demo.enneo.ai/api/mind/intent/list
{
  "intentCandidates": {
    "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",
    "intentCandidates": [
      [
        {
          "code": "process_meter_reading",
          "name": "Process meter reading",
          "categoryName": "Meter reading",
          "confidence": 0.91,
          "tags": [
            "prePopulated",
            "writesToErp"
          ],
          "message": null,
          "order": 1
        }
      ]
    ],
    "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",
        "intentCandidates": [
          [
            {
              "code": "process_meter_reading",
              "name": "Process meter reading",
              "categoryName": "Meter reading",
              "confidence": 0.91,
              "tags": [
                "prePopulated",
                "writesToErp"
              ],
              "message": null,
              "order": 1
            }
          ]
        ]
      }
    ]
  }
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Query Parameters

ticketId
integer

If provided, include specific recommendations based on the provided ticket id

q
string
required

Search query

includeTopIntents
boolean
default:
false

Includes also top intents as a root items. Top intents are suggested intents based on what the AI thinks fits to the ticket

includeUnassignedIntents
boolean
default:
false

Includes any intents that are not assigned to a skill tag. Useful when a supervisor edits intents, and we don't have an agent working on the ticket

onlyTagsWithIntents
boolean
default:
false

If yes, then tags with no intents assigned will be excluded from the result tree

Response

200
application/json
Successful operation
intentCandidates
object

Tag object with intent candidates inside