iachat/spec/builders/v2/reports
Pranav 0917e1a646
feat: Add an API to support querying metrics by ChannelType (#13255)
This API gives you how many conversations exist per channel, broken down
by status in a given time period. The max time period is capped to 6
months for now.

**Input Params:**
- **since:** Unix timestamp (seconds) - start of date range
- **until:** Unix timestamp (seconds) - end of date range


**Response Payload:**

```json
{
  "Channel::Sms": {
    "resolved": 85,
    "snoozed": 10,
    "open": 5,
    "pending": 5,
    "total": 100
  },
  "Channel::Email": {
    "resolved": 72,
    "snoozed": 15,
    "open": 13,
    "pending": 13,
    "total": 100
  },
  "Channel::WebWidget": {
    "resolved": 90,
    "snoozed": 7,
    "open": 3,
    "pending": 3,
    "total": 100
  }
}
```

**Definitons:**
resolved = Number of conversations created within the selected time
period that are currently marked as resolved.
snoozed = Number of conversations created within the selected time
period that are currently marked as snoozed.
pending = Number of conversations created within the selected time
period that are currently marked as pending.
open = Number of conversations created within the selected time period
that are currently open.
total = Total number of conversations created within the selected time
period, across all statuses.
2026-01-12 23:18:47 -08:00
..
conversations chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
timeseries fix: resolution count does not have account scope (#12370) 2025-09-04 18:04:00 +05:30
agent_summary_builder_spec.rb feat(v4): Update team, agent summary builder to include resolution metrics (#10607) 2024-12-20 19:16:56 +05:30
bot_metrics_builder_spec.rb feat: Add backend APIs for the bot metrics (#9031) 2024-03-01 08:20:20 -08:00
channel_summary_builder_spec.rb feat: Add an API to support querying metrics by ChannelType (#13255) 2026-01-12 23:18:47 -08:00
inbox_summary_builder_spec.rb feat: Instagram Inbox using Instagram Business Login (#11054) 2025-04-08 10:47:41 +05:30
label_summary_builder_spec.rb fix: wrong resolution count in timeseries reports (#12261) 2025-09-03 15:47:16 +05:30
team_summary_builder_spec.rb feat(v4): Update team, agent summary builder to include resolution metrics (#10607) 2024-12-20 19:16:56 +05:30