Zum Hauptinhalt springen
GET
/
quality
/
assessment
/
{id}
Get a specific quality assessment
curl --request GET \
  --url https://demo.enneo.ai/api/mind/quality/assessment/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 901,
  "scorecardId": 42,
  "scorecardBaseId": 17,
  "state": "reviewedBySupervisor",
  "assessedUser": 23,
  "assessedByUser": 12,
  "ticketId": 8821,
  "worklogId": 551,
  "createdAt": "2024-06-12T10:20:00Z",
  "modifiedAt": "2024-06-12T11:05:00Z",
  "deletedAt": null,
  "canEdit": true,
  "data": {
    "aiSummary": "AI summary of the conversation...",
    "categories": [
      {
        "categoryId": 1,
        "criteria": [
          {
            "id": 10,
            "score": 4,
            "reason": "Greeting was warm.",
            "state": "humanVerified",
            "lastEditedByUserId": 12,
            "lastEditedAt": "2024-06-12T10:55:00Z"
          }
        ]
      },
      {
        "categoryId": 2,
        "criteria": [
          {
            "id": 22,
            "score": 3,
            "reason": "Needs to confirm resolution steps.",
            "state": "humanVerified",
            "lastEditedByUserId": 12,
            "lastEditedAt": "2024-06-12T10:57:00Z"
          }
        ]
      }
    ],
    "totals": {
      "scoredPoints": 18,
      "usedMaxPoints": 20,
      "totalMaxPoints": 25,
      "percentage": 72
    },
    "supervisorAssessment": "Great rapport, focus on closing next time.",
    "assessmentDate": "2024-06-12T11:00:00Z",
    "discussionDate": null
  },
  "editingHistory": [
    {
      "userId": 12,
      "timestamp": "2024-06-12T10:55:00Z",
      "field": "criteria.1.10.score",
      "oldValue": 3,
      "newValue": 4
    }
  ],
  "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
  }
}

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Pfadparameter

id
integer
erforderlich

Assessment ID

Antwort

Successful operation

Quality assessment of agent performance on a specific work session

id
integer

Assessment ID

Beispiel:

1

scorecardId
integer

ID of the scorecard used

Beispiel:

1

scorecardBaseId
integer

Base ID of the scorecard used

Beispiel:

1

state
enum<string>

Assessment workflow state

Verfügbare Optionen:
unprocessed,
aiInProgress,
aiReady,
reviewOngoing,
reviewedBySupervisor,
discussedWithAssessee,
error,
deleted
Beispiel:

"aiReady"

assessedUser
integer

ID of the assessed user (agent)

Beispiel:

42

assessedByUser
integer | null

ID of the supervisor who assessed

ticketId
integer

Related ticket ID

Beispiel:

12345

worklogId
integer | null

Related worklog ID

aiSummary
string

AI-generated summary (summary format)

Beispiel:

"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