Skip to main content
GET
/
ticket
/
{ticketId}
/
assessments
Get all assessments for a ticket
curl --request GET \
  --url https://demo.enneo.ai/api/mind/ticket/{ticketId}/assessments \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 901,
    "scorecardId": 42,
    "scorecardBaseId": 17,
    "state": "reviewOngoing",
    "assessedUser": 23,
    "assessedByUser": null,
    "ticketId": 8821,
    "worklogId": 551,
    "createdAt": "2024-06-12T10:20:00Z",
    "modifiedAt": "2024-06-12T10:45:00Z",
    "canEdit": true,
    "aiSummary": "AI summary A",
    "totals": {
      "scoredPoints": 18,
      "usedMaxPoints": 20,
      "totalMaxPoints": 25,
      "percentage": 72
    },
    "worklog": {
      "userId": 23,
      "worklogId": 551,
      "lastInteraction": "2024-06-12T09:59:00Z",
      "ticketId": 8821,
      "conversationId": 331,
      "action": "reply",
      "actionList": [
        "reply",
        "internal-note"
      ]
    },
    "aiUsage": {
      "automationLevel": 2,
      "automationLevelLabel": "Assisted",
      "aiAgents": []
    },
    "time": {
      "duration": 480,
      "durationAfterWork": 120,
      "segments": []
    },
    "customerExperience": {
      "slaMet": true,
      "netSecondsClosedAfterSla": -30,
      "closingDateForSLA": "2024-06-12T09:40:00Z",
      "dueDateForSLA": "2024-06-12T10:00:00Z",
      "reOpened": false,
      "csat": null
    }
  },
  {
    "id": 915,
    "scorecardId": 42,
    "scorecardBaseId": 17,
    "state": "discussedWithAssessee",
    "assessedUser": 23,
    "assessedByUser": 12,
    "ticketId": 8821,
    "worklogId": 552,
    "createdAt": "2024-06-13T08:00:00Z",
    "modifiedAt": "2024-06-13T09:10:00Z",
    "canEdit": false,
    "aiSummary": "AI summary B",
    "totals": {
      "scoredPoints": 22,
      "usedMaxPoints": 24,
      "totalMaxPoints": 30,
      "percentage": 73.3
    },
    "worklog": {
      "userId": 23,
      "worklogId": 552,
      "lastInteraction": "2024-06-13T07:45:00Z",
      "ticketId": 8821,
      "conversationId": 332,
      "action": "reply",
      "actionList": [
        "reply"
      ]
    },
    "aiUsage": {
      "automationLevel": 1,
      "automationLevelLabel": "Monitor",
      "aiAgents": []
    },
    "time": {
      "duration": 360,
      "durationAfterWork": 60,
      "segments": []
    },
    "customerExperience": {
      "slaMet": true,
      "netSecondsClosedAfterSla": 0,
      "closingDateForSLA": "2024-06-13T08:10:00Z",
      "dueDateForSLA": "2024-06-13T08:30:00Z",
      "reOpened": false,
      "csat": null
    }
  }
]

Authorizations

Authorization
string
header
required

JWT-based authentication

Path Parameters

ticketId
integer
required

Ticket ID

Response

Successful operation

id
integer

Assessment ID

Example:

1

scorecardId
integer

ID of the scorecard used

Example:

1

scorecardBaseId
integer

Base ID of the scorecard used

Example:

1

state
enum<string>

Assessment workflow state

Available options:
unprocessed,
aiInProgress,
aiReady,
reviewOngoing,
reviewedBySupervisor,
discussedWithAssessee,
error,
deleted
Example:

"aiReady"

assessedUser
integer

ID of the assessed user (agent)

Example:

42

assessedByUser
integer | null

ID of the supervisor who assessed

ticketId
integer

Related ticket ID

Example:

12345

worklogId
integer | null

Related worklog ID

aiSummary
string

AI-generated summary (summary format)

Example:

"Good job overall, scored 85%"

totals
object

Score totals

data
object

Full assessment data (full format only)

createdAt
string<date-time>
modifiedAt
string<date-time>
canEdit
boolean

Whether current user can edit this assessment