Enneo

Report

Get telephony agent call insights

GET /report/telephonyAgentCallInsights/{agentId}

GET /report/telephonyAgentCallInsights/{agentId}

Returns detected intents data for a specific telephony agent. Shows distribution of customer intents identified in the agent's calls.

Path parameters

agentIdintegerpathrequired

The ID of the telephony agent (user)

Query parameters

lastDaysenumquery

Number of days to look back

Responses

200 — Successful operation

Response Example

{
  "detectedIntents": {
    "data": {
      "Allgemein": 27,
      "Mako": 35,
      "Rechnung": 15,
      "Lorem": 28,
      "Ipsum": 10
    },
    "description": "Distribution of detected customer intents for this agent across all calls in the selected period.",
    "filters": {
      "lastDays": "7"
    },
    "summary": {
      "total": 115,
      "percentages": {
        "Allgemein": 23,
        "Mako": 30,
        "Rechnung": 13,
        "Lorem": 24,
        "Ipsum": 9
      }
    }
  }
}

403 — Unauthorized

404 — Telephony agent not found

500 — Internal error