Zum Hauptinhalt springen
GET
/
quality
/
scorecard
List quality scorecards
curl --request GET \
  --url https://demo.enneo.ai/api/mind/quality/scorecard \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 42,
    "baseId": 17,
    "revision": 2,
    "name": "Email QA - Tier 1",
    "state": "active",
    "categories": [
      {
        "categoryId": 1,
        "label": "Opening",
        "order": 1,
        "criteria": [
          {
            "id": 10,
            "label": "Greeting",
            "description": "Did the agent greet the customer properly?",
            "maxPoints": 5,
            "scoringType": "numericScale",
            "autoGenerateByAi": false,
            "assessmentPrompt": "Score the greeting quality",
            "makeOrBreakForCategory": false,
            "makeOrBreakForAssessment": false
          }
        ]
      }
    ],
    "assignment": {
      "ticketTags": [
        101,
        102
      ],
      "teams": [
        5
      ],
      "channels": [
        "email"
      ]
    },
    "createdAt": "2024-05-12T09:41:00Z",
    "modifiedAt": "2024-06-01T10:00:00Z",
    "canEdit": true
  }
]

Authorizations

Authorization
string
header
required

JWT-based authentication

Query Parameters

state
string
default:active

Filter by scorecard state (comma-separated list). Allowed values: draft, active, retired, deleted. Defaults to only active scorecards if not provided.

Example:

"draft,active"

Response

List of quality scorecards

id
integer

Scorecard ID

Example:

1

baseId
integer

Base ID for versioning (stable across revisions)

Example:

1

revision
integer

Revision number

Example:

1

name
string

Scorecard name

Example:

"Junior agent standard review"

state
enum<string>

Scorecard state

Verfügbare Optionen:
draft,
active,
retired,
deleted
Example:

"active"

categoryCount
integer

Number of categories (summary format only)

Example:

3

categories
object[]

Scorecard categories with criteria (full format only)

assignment
object

Assignment rules for scorecard applicability

createdBy
integer

User ID who created the scorecard

modifiedBy
integer

User ID who last modified the scorecard

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

Whether current user can edit this scorecard