iachat/spec/builders
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
..
campaigns chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
csat_surveys chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
email feat: Clean up email configuration for from and reply to emails (#12453) 2025-09-24 11:36:53 -07:00
messages fix: Issue with processing variables in outgoing email content (#12799) 2025-11-10 20:50:02 +05:30
v2 feat: Add an API to support querying metrics by ChannelType (#13255) 2026-01-12 23:18:47 -08:00
account_builder_spec.rb fix: account email validation during signup (#11307) 2025-05-20 20:45:39 -07:00
agent_builder_spec.rb fix: Avoid duplicate invitation emails when adding an agent (#9131) 2024-03-26 18:58:45 -07:00
contact_inbox_builder_spec.rb chore: Add cache to improve widget performance (#11163) 2025-03-24 16:04:49 -07:00
contact_inbox_with_contact_builder_spec.rb feat: Instagram Inbox using Instagram Business Login (#11054) 2025-04-08 10:47:41 +05:30
conversation_builder_spec.rb feat: Ability to lock the conversation to a single thread in API channels (#10329) 2024-12-09 23:36:17 +08:00
notification_builder_spec.rb fix: Exclude notifications for blocked contacts, except mentions (#10659) 2025-01-12 15:30:27 +05:30
year_in_review_builder_spec.rb feat(ce): Add Year in review feature (#13078) 2025-12-15 17:24:45 -08:00