Skip to main content
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.

Authorizations

Authorization
string
header
required

JWT-based authentication

Path Parameters

id
integer
required

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.

Response

Assessment re-processed successfully

Quality assessment of agent performance on a specific work session

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