Chatwoot icon

Chatwoot

Interact with Chatwoot API to manage conversations, messages, contacts, and more

Actions206

Report → Team Statistics

AI-generated

Summary

Fetch team statistics reports from Chatwoot for a specified date range, with optional filtering and grouping parameters.

Inputs

  • since (required) — Start date for the report in date-time format.
  • until (required) — End date for the report in date-time format.
  • options — Optional parameters to refine the report including entity ID (team, agent, inbox, label), time grouping (hour, day, week, month, year), timezone offset (in seconds), business hours filter, days before to look back (for conversation traffic), and filters by inbox IDs, label IDs, or user ID.

Output shape

a structured JSON object containing the team statistics report data from Chatwoot for the given criteria

The report data shape depends on the Chatwoot API response; grouping and filtering options affect the returned statistics. Errors are returned if required date parameters are missing or invalid.

Examples

Example 1: Retrieve daily team statistics for the past week grouped by day and filtered to business hours only.

Set 'since' and 'until' to cover 7 days, enable 'business_hours' option, and set 'group_by' to 'day'.

Links

Discussion