GET
/
backend
/
reports
/
:orgId
/
agents
/
performance

This endpoint provides performance metrics for agents, including the total number of chats handled and their average duration. Performance in this context refers to the quantity of chats an agent manages and how quickly they resolve them.

Authentication

Authorization
string
required

Bearer token for authentication

Path Parameters

orgId
string
required

The unique identifier of the organization

Query Parameters

startDate
string

The start date for the report period (ISO 8601 format)

endDate
string

The end date for the report period (ISO 8601 format)

Response

agent_id
number

The unique identifier of the agent

total_chats
number

The total number of chats handled by the agent

avg_duration
number

The average duration of chat sessions for the agent (in seconds)

Was this page helpful?