analytics
analytics.query
Workspace analytics query
Effects: read
Answer analytics questions about this workspace's own data (conversations, messages, voice calls) — e.g. 'how many new conversations this week by channel' or 'inbound vs outbound messages per day this month'. Returns rows plus a chart hint. Read-only and scoped to the current workspace.
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
question | string | yes | The analytics question in natural language, e.g. 'how many conversations started this week, by channel?' |