Admin/Agent conversation performance (per agent, per day)
GET /v1/admin/analytics/analyses/agent-conversation-performance-daily

Agent conversation performance (per agent, per day)

Daily WhatsApp conversation metrics broken down per agent. `_limit` / `_skip` page **agents**. Each returned agent still gets **every day** in the `_from`–`_to` range (oldest → newest in `days`), zero-filled when idle. Defaults when omitted: `_limit=10`, `_skip=0`, `_sort=agent_name`. Max range: **1 month**. Attribution: - `messages_received` / `conversations` — every agent who is a participant on the conversation - `messages_sent` — only the agent who sent the message - `resolved_conversations` — only the agent who resolved it Response carries `agent_id` only — resolve display names on the client. Permission: existing admin analytics permission (same as other analyses routes).

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl https://api.{cluster}.{platform}.voiger.io/v1/admin/analytics/analyses/agent-conversation-performance-daily?channel=&_from= \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code"

Parameters

x-workspace-code string required in header
channel string required in query
Messaging channel. Only `whatsapp` is allowed today.
_from string required in query
Range start as an absolute ISO-8601 datetime. Core shifts into the workspace timezone for day labels / bucketing and does not rewrite the clock to day edges.
_to string required in query
Range end as an absolute ISO-8601 datetime. Same absolute-instant contract as `_from`.
team_id array optional in query
Optional team UUID filter (list). Team managers who omit it still see only their teams. Global admins who omit it see the workspace. A team manager cannot request a team they are not on.
agent_id array optional in query
Optional agent UUID filter (list). Only used by the per-agent report.
_limit number optional in query
_skip number optional in query
_sort string optional in query
Agent order for the per-agent report. Bare `agent_name` is ascending. Default when omitted is `agent_name`.

Response

data▾
array Page of agents. Empty array when no agents match.
agent_id
string Agent UUID. Resolve the display name on the client.
days▾
array Every day in the selected range, oldest first, zero-filled.
date
string Calendar day in the workspace timezone (`YYYY-MM-DD`).
messages_received
integer Inbound WhatsApp message activities created that day.
messages_sent
integer Outbound WhatsApp message activities created that day (agent / system / still-pending). Receipts and reactions do not add another count.
conversations
integer Distinct conversations with a WhatsApp inbound or outbound message that day.
resolved_conversations
integer Distinct conversations with a resolve activity that day that have used WhatsApp (still counted if later reopened).