call_timeseries
Call volume over time via CallRail's /calls/timeseries.json. One request for a trend line instead of client-side bucketing.
Instructions
Call volume over time via CallRail's /calls/timeseries.json. One request for a trend line instead of client-side bucketing.
CallRail refuses any request whose result set would exceed 200 data
points. With the default daily interval that caps the window at ~200
days; use interval='week' or 'month' for longer ranges. This tool
checks the limit before sending so you get a clear message instead of
a raw 400.
Args:
days: Lookback (default 30). Ignored if start_date given.
start_date / end_date: 'YYYY-MM-DD'. Explicit dates win.
company_id: Filter to one company.
fields: Comma-separated metrics. Valid: total_calls, missed_calls,
answered_calls, abandoned_calls, first_time_callers,
average_duration, formatted_average_duration, leads.
interval: Bucket size. One of 'hour', 'day', 'week', 'month',
'year'. Defaults to CallRail's own choice (daily) when omitted.
account_id: Auto-resolves if omitted.
Returns:
JSON string with total_results and data[], one entry per
bucket ({key/date, }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| fields | No | ||
| end_date | No | ||
| interval | No | ||
| account_id | No | ||
| company_id | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |