get_cost_analytics
Total the costs recorded in your workspace over a period, grouped by day (the default), week, month, agent, customer or type: count, total, average, smallest and largest amount for each group and currency, and overall totals. Pass start_date and end_date to choose the period. Read-only. Needs a Last Price credential. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | The end of the period, as an ISO 8601 date and time. | |
| group_by | No | How to group. Defaults to day. | |
| start_date | No | The start of the period, as an ISO 8601 date and time. |