Skip to main content
GET
/
report
/
{reportCode}
Get report data
curl --request GET \
  --url https://demo.enneo.ai/api/mind/report/{reportCode} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "dueInMoreThan24Hours": 10,
    "dueInNext24Hours": 5,
    "overdue24Hours": 3,
    "overdue24To48Hours": 2,
    "overdueMoreThan48Hours": 1,
    "totalTickets": 21
  },
  "description": "Tickets in status 'open', broken down by due date compared to the current time.",
  "summary": {
    "title": "Open tickets",
    "amount": 63,
    "description": ""
  },
  "filters": {
    "lastDays": 14,
    "agent": "own"
  }
}

Authorizations

Authorization
string
header
required

JWT-based authentication

Path Parameters

reportCode
enum<string>
required

The type of report to retrieve

Available options:
openTickets,
channelMix,
solvedTicketsByTeam,
solvedTicketsByResolution,
incomingVolume,
customerSurveys,
telephonyLines,
telephonyAgents,
telephonyAiAgents,
telephonyPerformance,
telephonyCallInsights,
telephonyLineTopPerformers

Query Parameters

status
enum<string>

Filter by status (only for channelMix report)

Available options:
open,
closed,
pending
channel
enum<string>

Filter by channel (only for channelMix report)

Available options:
email,
portal,
phone,
system,
chat,
letter
lastDays
enum<string>

Number of days to look back (for solvedTicketsByTeam, solvedTicketsByResolution, incomingVolume, channelMix)

Available options:
1,
3,
7,
14,
30,
90,
365
agent
enum<string>

Filter by agent type (only for solvedTicketsByResolution, solvedTicketsByTeam, customerSurveys report)

Available options:
own,
team,
all
teams
string

Filter by teams (only for telephonyAgents report). Currently supports 'all' to show all teams.

lines
string

Filter by telephony lines (for telephonyAgents and telephonyAiAgents reports). Currently supports 'all' to show all lines.

lineId
string

Filter by specific telephony line ID (for telephonyPerformance, telephonyCallInsights, telephonyLineTopPerformers reports). Required for telephonyLineTopPerformers.

agentsType
enum<string>

Filter by agent type (only for telephonyLineTopPerformers report). Defaults to 'all' if not provided.

Available options:
all,
ai,
human

Response

Successful operation

data
object

For openTickets report

description
string

Description of what the report shows

Example:

"Tickets in status 'open', broken down by due date compared to the current time."

summary
object

For channelMix report

filters
object

The filters that were applied to generate this report

Example:
{ "lastDays": 14, "agent": "own" }