bird voice stats hourly
Usage
Code example
bird voice stats hourly [flags]Description
Per-hour voice stats series (total and answered legs, asr, acd_ms), gap-filled with zero rows, max 30 days (720 rows). A longer window returns 422, so use bird voice stats daily for those. from/to are instants, each rounded down to the enclosing hour and echoed back in period. For one aggregate row use bird voice stats summary.
Examples
Code example
bird voice stats hourlyOptions
| Name | Description |
|---|---|
| --direction | When set, limits the statistics to call legs in this direction. Omit to include all legs. Possible values: inbound, outbound. |
| --from | Start of the window (ISO 8601 instant). Rounded down to the start of its hour (the local hour when timezone is set, otherwise the UTC hour), and that hour is included. When timezone is set, a numeric UTC offset here (for example +05:45) is rejected; use a Z (UTC) instant. Defaults to 7 days before to when omitted. |
| --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 | End of the window (ISO 8601 instant). Rounded down to the start of its hour (the local hour when timezone is set, otherwise the UTC hour), and that hour is included (both bounds inclusive). When timezone is set, a numeric UTC offset here is rejected; use a Z (UTC) instant. Defaults to the current hour when omitted. Window may not exceed 30 days (720 hours). |
Related
| Name | Description |
|---|---|
| bird voice stats by-country | Get Voice statistics by country |
| bird voice stats by-response-code | Get Voice statistics by response code |
| bird voice stats daily | Get daily Voice statistics |
| bird voice stats summary | Get aggregate Voice statistics |