Documentation
Sign inGet started

bird sms stats summary

Usage

Codevoorbeeld
bird sms stats summary [flags]

Description

Aggregate SMS KPIs for one period: accepted, sent, delivered, undelivered, failed, rejected and expired counts, the derived delivery and failure rates, and latency percentiles. The from and to values are both YYYY-MM-DD days or both RFC 3339 instants (hour grain). Add compare=previous_period for deltas against the preceding window. For a per-day or per-hour series use bird sms stats daily or bird sms stats hourly.

Examples

Codevoorbeeld
bird sms stats summary

Options

NameDescription
--carrierRestrict the statistics to a single delivery carrier. Mutually exclusive with the other dimension filters (originator, country, category); only one may be set per request.
--categoryRestrict the statistics to a single category. Mutually exclusive with the other dimension filters (originator, country, carrier); only one may be set per request.
--compareSet to previous_period to also include the same statistics for the immediately preceding window of equal length, plus the change between the two, so you can show '+X% vs last period' without a second request. Possible values: previous_period.
--countryRestrict the statistics to a single destination country, as an ISO 3166-1 alpha-2 code. Mutually exclusive with the other dimension filters (originator, category, carrier); only one may be set per request.
--fromInclusive start of the window: a calendar day (YYYY-MM-DD) or an RFC 3339 instant rounded down to the hour. The timezone parameter makes a calendar day local and rounds an instant down to the local hour. Omit timezone to use UTC. When timezone is set, a numeric UTC offset such as +05:45 is rejected; use a calendar day or a Z (UTC) instant. This value must use the same form as to. When omitted, it defaults to 30 days before to for day windows or 168 hours (7 days) before to for hour windows.
--originatorRestrict the statistics to a single originator (the sender address messages were sent from). Mutually exclusive with the other dimension filters (country, category, carrier); only one may be set per request. Matches the message from.
--response-schemaPrint the fields this command returns, then exit
--timezoneIANA 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.
--toInclusive end of the window: a calendar day (YYYY-MM-DD) or an RFC 3339 instant rounded down to the hour. The timezone parameter makes a calendar day local and rounds an instant down to the local hour. Omit timezone to use UTC. When timezone is set, a numeric UTC offset is rejected; use a calendar day or a Z (UTC) instant. This value must use the same form as from. When omitted, it defaults to today for day windows or the current hour for hour windows in that timezone. Day windows may not exceed 365 days; hour windows may not exceed 720 hours (30 days).
NameDescription
bird sms stats by-carrierGet outbound SMS statistics by carrier
bird sms stats by-categoryGet outbound SMS statistics by category
bird sms stats by-countryGet outbound SMS statistics by country
bird sms stats by-error-codeGet outbound SMS statistics by error code
bird sms stats by-originatorGet outbound SMS statistics by originator
bird sms stats by-statusGet outbound SMS statistics by status
bird sms stats by-tagGet outbound SMS statistics by tag
bird sms stats dailyGet daily outbound SMS statistics
bird sms stats hourlyGet hourly outbound SMS statistics