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}
{
  "autoProcessing": {
    "description": "Number of tickets auto-processed by this AI Agent per day.",
    "summary": {
      "amount": 12,
      "withApproval": 7,
      "fullyAutonomous": 5
    },
    "data": {
      "01.01": {
        "With Approval": 1,
        "Fully autonomous": 0
      },
      "02.01": {
        "With Approval": 2,
        "Fully autonomous": 2
      }
    },
    "filters": {
      "aiAgentId": 1,
      "lastDays": "14"
    }
  },
  "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
      }
    },
    "filters": {
      "aiAgentId": 1,
      "lastDays": "14"
    }
  },
  "avgHandlingTimeHuman": {
    "data": [],
    "summary": {
      "averageDurationInSeconds": 320.5,
      "totalCount": 14,
      "previousAverageDurationInSeconds": 355.2,
      "previousTotalCount": 12
    },
    "description": "Average handling time (seconds) for human cases (L2+L3) for this agent.",
    "filters": {
      "aiAgentId": 1,
      "lastDays": "14"
    }
  },
  "autoProcessingShare": {
    "data": [],
    "summary": {
      "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.",
    "filters": {
      "aiAgentId": 1,
      "lastDays": "14"
    }
  },
  "autoProcessingApprovalRate": {
    "data": [],
    "summary": {
      "value": 6,
      "valueTotal": 11,
      "previousValue": 4,
      "previousValueTotal": 10
    },
    "description": "Rate of auto-processing attempts that were approved for this AI Agent.",
    "filters": {
      "aiAgentId": 1,
      "lastDays": "14"
    }
  },
  "autoProcessingSuccessRate": {
    "data": [],
    "summary": {
      "value": 8,
      "valueTotal": 12,
      "previousValue": 6,
      "previousValueTotal": 11
    },
    "description": "Rate of auto-processing attempts that were successful for this AI Agent.",
    "filters": {
      "aiAgentId": 1,
      "lastDays": "14"
    }
  },
  "approvalTimeL4": {
    "data": [],
    "summary": {
      "averageDurationInSeconds": 210.1,
      "totalCount": 7,
      "previousAverageDurationInSeconds": 240,
      "previousTotalCount": 6
    },
    "description": "Average approval time (seconds) for L4 cases for this AI Agent.",
    "filters": {
      "aiAgentId": 1,
      "lastDays": "14"
    }
  },
  "autoProcessingErrorRate": {
    "data": [],
    "summary": {
      "value": 2,
      "valueTotal": 20,
      "previousValue": 3,
      "previousValueTotal": 18
    },
    "description": "Share of cases with errors for this AI Agent.",
    "filters": {
      "aiAgentId": 1,
      "lastDays": "14"
    }
  },
  "customerSatisfaction": {
    "data": [],
    "summary": [],
    "description": "Customer satisfaction results for this AI Agent (placeholder).",
    "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

Map of metric name to agent-scoped report item