Skip to main content
GET
/
profile
/
{id}
/
routing
Explain routing priorities for a user
curl --request GET \
  --url https://demo.enneo.ai/api/mind/profile/{id}/routing \
  --header 'Authorization: Bearer <token>'
{
  "routingPriority": [
    123
  ],
  "details": [
    {
      "routingPriority": 123,
      "id": 123,
      "ticketNotAssigned": true,
      "ticketNotWorkedOnByColleague": true,
      "aiSupportLevel": "unprocessed",
      "priority": "low",
      "channel": "email",
      "dueBy": "<string>",
      "tagExplanation": "<string>"
    }
  ],
  "total": 123,
  "query": "<string>"
}

Authorizations

Authorization
string
header
required

JWT-based authentication

Path Parameters

id
integer
required

The id of the profile to explain routing for

Query Parameters

ticketId
integer

If provided, explain routing relative to this ticket ID ("next" button). If omitted, explains routing for the next ticket.

limit
integer
default:500

Maximum number of tickets to return. Defaults to 500.

Required range: 1 <= x <= 500
offset
integer
default:0

The number of items to skip

Required range: x >= 0

Response

Successful operation

routingPriority
integer[]

Ordered list of ticket IDs by routing priority

details
object[]
total
integer

Total number of tickets that can be routed for this user

query
string

SQL-like query used to compute the routing