Read Agent analytics
agent_analyticsReads one Agent's traffic summary, daily trends and channel breakdown for at most 365 days.
Covers conversation, message and user counts and response time. Resolution and handoff figures are not part of it; agent_kpis_read carries them. channel_type filters summary only; trends and channel breakdown cover all channels, matching the existing product services. No Workspace-wide aggregate is implied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID from agents_list or agent_create. | |
| end_date | Yes | End date (YYYY-MM-DD); the ordered range contains at most 365 days. | |
| start_date | Yes | Start date (YYYY-MM-DD) for this Agent traffic report. | |
| channel_type | No | Channel-type filter for summary only; trends and channel breakdown include all types. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| trends | Yes | ||
| summary | Yes | ||
| agent_id | Yes | ||
| workspace_id | Yes | ||
| channel_breakdown | Yes | ||
| trends_channel_filter | Yes | ||
| summary_channel_filter | Yes | ||
| breakdown_channel_filter | Yes |