get_weekly_trends
Retrieve weekly aggregated metrics for calls, average duration, and cost to identify week-over-week trends.
Instructions
Get weekly aggregated metrics — calls, average duration, and cost per week. Good for spotting week-over-week trends.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | No | Start date (ISO 8601, e.g. 2025-01-15T00:00:00Z). Defaults to 7 days ago. | |
| end_date | No | End date (ISO 8601, e.g. 2025-01-20T23:59:59Z). Defaults to now. | |
| agent_name | No | Filter to a specific agent (partial match) | |
| campaign_id | No | Filter to a specific campaign by ID | |
| call_type | No | Filter by call type |