Sign inGet Started

bird amb stats by-error-code

Usage

Code example
bird amb stats by-error-code [flags]

Description

Returns outbound counts and latency percentiles grouped by failure reason, for the requested period. Rows are ranked by send_failed + rejected descending and capped at the requested limit (default 50, max 200). Only messages carrying a failure reason appear: a bird: code is usually a rejection (never charged, never attempted), an apple: code a send failure; use the summary for the period's full accepted total.

Examples

Code example
bird amb stats by-error-code

Options

NameDescription
--fromInclusive 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 send_failed + rejected descending.
--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). Interpreted in timezone, or UTC when omitted. Max window 365 days. Defaults to today in that timezone when omitted.
NameDescription
bird amb stats by-businessGet outbound Apple Messages for Business statistics by business
bird amb stats by-categoryGet outbound Apple Messages for Business statistics by category
bird amb stats by-groupGet outbound Apple Messages for Business statistics by group
bird amb stats by-intentGet outbound Apple Messages for Business statistics by intent
bird amb stats by-message-kindGet outbound Apple Messages for Business statistics by message kind
bird amb stats by-tagGet outbound Apple Messages for Business statistics by tag
bird amb stats dailyGet daily outbound Apple Messages for Business statistics
bird amb stats hourlyGet hourly outbound Apple Messages for Business statistics
bird amb stats summaryGet aggregate outbound Apple Messages for Business statistics