Zum Hauptinhalt springen
POST
/
quality
/
assessment
/
{id}
/
refresh
Re-run AI processing for a quality assessment
curl --request POST \
  --url https://demo.enneo.ai/api/mind/quality/assessment/{id}/refresh \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scorecardId": 42
}
'
{
  "id": 1,
  "scorecardId": 1,
  "scorecardBaseId": 1,
  "state": "aiReady",
  "assessedUser": 42,
  "assessedByUser": 123,
  "ticketId": 12345,
  "worklogId": 123,
  "aiSummary": "Good job overall, scored 85%",
  "totals": {
    "scoredPoints": 24,
    "usedMaxPoints": 32,
    "totalMaxPoints": 47,
    "percentage": 75
  },
  "data": {
    "aiSummary": "<string>",
    "general": {},
    "aiUsage": {},
    "time": {},
    "customerExperience": {},
    "categories": [
      {}
    ],
    "totals": {},
    "supervisorAssessment": "<string>",
    "assessmentDate": "2023-11-07T05:31:56Z",
    "discussionDate": "2023-11-07T05:31:56Z"
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "modifiedAt": "2023-11-07T05:31:56Z",
  "canEdit": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.enneo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Pfadparameter

id
integer
erforderlich

Assessment ID

Body

application/json
scorecardId
integer

Optional. Specific scorecard revision id to use for processing. Must share the same baseId as the assessment's current scorecard. If omitted, the latest active revision is used.

Antwort

Assessment re-processed successfully

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