POST
/
tag
/
{id}
/
detect
curl --request POST \
  --url https://demo.enneo.ai/api/mind/tag/{id}/detect \
  --header 'Content-Type: application/json' \
  --data '{
  "ticketId": 1,
  "testTags": [
    {
      "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"
    }
  ],
  "data": {}
}'
{
  "match": true,
  "dataOutcome": {}
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Path Parameters

id
integer
required

Body

application/json
ticketId
integer

The id of the ticket against which to compare the intent examples

testTags
object[]

The tags to test against

Tag object

data
object

Additional data to be used for the detection

Response

200
application/json
Successful operation
match
boolean

Indicates if the tag was detected

dataOutcome
object

The outcome of the data preview