bird amb stats by-category
Usage
Code example
bird amb stats by-category [flags]Description
Returns outbound counts and latency percentiles grouped by message category, for the requested period. Rows are ranked by accepted volume descending and capped at the requested limit (default 50, max 200). A send that names no category is grouped under an empty-string category. Rows use accepted-time attribution: a send failure recorded during the period for a message accepted earlier counts against the earlier period. Each row also carries first_response latency percentiles, omitted when no qualifying message contributes a measurement.
Examples
Code example
bird amb stats by-categoryOptions
| 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 category rows to return, ranked by accepted volume 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 amb stats by-business | Get outbound Apple Messages for Business statistics by business |
| bird amb stats by-error-code | Get outbound Apple Messages for Business statistics by error code |
| bird amb stats by-group | Get outbound Apple Messages for Business statistics by group |
| bird amb stats by-intent | Get outbound Apple Messages for Business statistics by intent |
| bird amb stats by-message-kind | Get outbound Apple Messages for Business statistics by message kind |
| bird amb stats by-tag | Get outbound Apple Messages for Business statistics by tag |
| bird amb stats daily | Get daily outbound Apple Messages for Business statistics |
| bird amb stats hourly | Get hourly outbound Apple Messages for Business statistics |
| bird amb stats summary | Get aggregate outbound Apple Messages for Business statistics |
Related resources
Continue with the documentation, guides and examples for this topic. Resources are in English.
Understand the conceptShould I use a Bird SDK or call the API directly?Follow the learning pathBuild your first integrationImplementation guideSend your first email
Get an implementation brief