GET
/
report
/
aiAgentPerformance
/
{aiAgentId}
Get AI performance metrics for a specific AI agent
curl --request GET \
  --url https://demo.enneo.ai/api/mind/report/aiAgentPerformance/{aiAgentId}
{
  "data": {
    "autoProcessing": {
      "description": "Number of tickets auto-processed by this AI Agent per day.",
      "summary": {
        "amount": 12,
        "With Approval": 7,
        "Fully autonomous": 5
      },
      "data": {
        "01.01": {
          "With Approval": 1,
          "Fully autonomous": 0
        },
        "02.01": {
          "With Approval": 2,
          "Fully autonomous": 2
        }
      }
    },
    "automationLevel": {
      "description": "Daily distribution across automation levels L0..L5 for this agent.",
      "data": {
        "01.01": {
          "L0": 1,
          "L1": 1,
          "L2": 0,
          "L3": 1,
          "L4": 1,
          "L5": 0
        },
        "02.01": {
          "L0": 0,
          "L1": 2,
          "L2": 1,
          "L3": 0,
          "L4": 2,
          "L5": 1
        }
      }
    },
    "avgHandlingTimeHuman": {
      "averageDurationInSeconds": 320.5,
      "totalCount": 14,
      "previousAverageDurationInSeconds": 355.2,
      "previousTotalCount": 12,
      "description": "Average handling time (seconds) for human cases (L2+L3) for this agent."
    },
    "autoProcessingShare": {
      "value": 9,
      "valueTotal": 28,
      "previousValue": 5,
      "previousValueTotal": 30,
      "description": "Share of auto-processed cases (L4+L5) out of all cases worked by this AI Agent."
    },
    "autoProcessingApprovalRate": {
      "value": 6,
      "valueTotal": 11,
      "previousValue": 4,
      "previousValueTotal": 10,
      "description": "Rate of auto-processing attempts that were approved for this AI Agent."
    },
    "autoProcessingSuccessRate": {
      "value": 8,
      "valueTotal": 12,
      "previousValue": 6,
      "previousValueTotal": 11,
      "description": "Rate of auto-processing attempts that were successful for this AI Agent."
    },
    "approvalTimeL4": {
      "averageDurationInSeconds": 210.1,
      "totalCount": 7,
      "previousAverageDurationInSeconds": 240,
      "previousTotalCount": 6,
      "description": "Average approval time (seconds) for L4 cases for this AI Agent."
    },
    "autoProcessingErrorRate": {
      "value": 2,
      "valueTotal": 20,
      "previousValue": 3,
      "previousValueTotal": 18,
      "description": "Share of cases with errors for this AI Agent."
    },
    "customerSatisfaction": {
      "summary": {
        "description": "Customer satisfaction results for this AI Agent (placeholder)."
      },
      "data": []
    }
  },
  "description": "AI agent performance overview.",
  "filters": {
    "aiAgentId": 1,
    "lastDays": 14
  }
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Path Parameters

aiAgentId
integer
required

The AI agent ID

Query Parameters

lastDays
enum<string>

Number of days to look back. If omitted, defaults to 7.

Available options:
0,
1,
3,
7,
14,
30,
90,
365

Response

200
application/json

Successful operation

The response is of type object.