bird whatsapp stats by-error-code
Usage
Exemplo de código
bird whatsapp stats by-error-code [flags]Description
Failed outbound WhatsApp messages grouped by the normalized failure reason, the same value a failed message reports in last_error.code, ranked by volume. This is the read that answers "why are sends failing"; bird whatsapp stats summary gives the failure rate, this gives its composition. A send declined before handoff (insufficient balance, missing price, suppressed recipient) counts as rejected rather than failed and is absent here; read delivery.rejected on bird whatsapp stats summary for it. Rows are the whole workspace's: the breakdown takes no dimension filter. Cap the rows with limit (default 50, max 200).
Examples
Exemplo de código
bird whatsapp stats by-error-codeOptions
| Name | Description |
|---|---|
| --from | Inclusive start of the window, a calendar day (YYYY-MM-DD). Interpreted in timezone, or UTC when omitted. Must not be after to. Max window 365 days. Defaults to 30 days before to when omitted. |
| --limit <n> | Maximum number of error-code rows to return, ranked by failure count descending. |
| --response-schema | Print the fields this command returns, then exit |
| --timezone | IANA timezone identifier used to group statistics, for example Asia/Kathmandu. The default is UTC. Day and hour boundaries, including the default window when from and to are omitted, follow this timezone. When this parameter is set, pass from and to as calendar days or Z instants instead of timestamps with explicit UTC offsets. |
| --to | Inclusive end of the window, a calendar day (YYYY-MM-DD). Interpreted in timezone, or UTC when omitted. Max window 365 days. Defaults to today in that timezone when omitted. |
Related
| Name | Description |
|---|---|
| bird whatsapp stats by-phone-number | Get outbound WhatsApp statistics by phone number |
| bird whatsapp stats by-tag | Get outbound WhatsApp statistics by tag |
| bird whatsapp stats by-template | Get outbound WhatsApp statistics by template |
| bird whatsapp stats by-template-category | Get outbound WhatsApp statistics by template category |
| bird whatsapp stats daily | Get daily outbound WhatsApp statistics |
| bird whatsapp stats hourly | Get hourly outbound WhatsApp statistics |
| bird whatsapp stats summary | Get aggregate outbound WhatsApp statistics |