Sign inGet Started

bird email stats by-brand

Usage

Code example
bird email stats by-brand [flags]

Description

Email delivery, engagement, and latency stats grouped by the send-time Brand ID (bnd_…). Archived Brands remain keyed by their ID, and historical unbranded messages appear in a separate brand_id: null row distinct from the default Brand. Reads retained reporting events directly (last 180 days, on or after 2026-09-23T00:00:00Z; data_as_of is null). Brand listing is dashboard-only, so this breakdown discovers Brand IDs with activity in the requested period; to map a Brand name to its ID or inspect a Brand with no activity, ask the caller for the Brand ID (copyable from Brands > More actions > Copy brand ID). For a single Brand's time series, period comparisons, or combined filters (such as Brand + template or category), use bird email stats query with filters.brand_id.

Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Code example
bird email stats by-brand
bird email stats by-brand | jq -r '.data[].brand_id'
bird email stats by-brand --limit 50 --starting-after <cursor>

Options

Filters

NameDescription
--categoryNot supported on breakdown endpoints. Supplying it returns 422. To compare categories, use GET /v1/email/stats/categories, or use POST /v1/email/stats/query to combine brand_id and category.
--fromInclusive start of the window: a calendar day (YYYY-MM-DD) or an RFC 3339 instant (rounded down to a local quarter-hour). Use the same form for from and to, and use Z UTC instants when timezone is supplied. Defaults to 30 calendar days before to when both are omitted. Must fall within retained reporting history (last 180 days, on or after 2026-09-23T00:00:00Z).
--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, including the whole local day) or an RFC 3339 instant (rounded down to a local quarter-hour and including that quarter-hour). Must use the same form as from and not lie in the future for instant windows. Calendar windows allow up to 365 local days; instant windows allow up to 720 hours. Defaults to today in timezone when both are omitted.

Pagination

NameDescription
--ending-beforeCursor from the prev_cursor or refresh_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. prev_cursor returns the preceding page. refresh_cursor anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since.
--limit <n>Maximum number of Brand rows to return, ranked by the sort field descending. Allowed range: 1 to 200.
--sortMetric to rank rows by, applied descending. Supports every count and rate defined by EmailStatsSortMetric; rows whose rate is undefined (zero denominator) sort last. Defaults to processed. Possible values: processed, delivered, bounced, complained, deferred, rejected, oob_bounces, bounces.hard, bounces.soft, bounces.admin, bounces.block, bounces.undetermined, opens, opens_non_prefetched, unique_opens, unique_opens_non_prefetched, clicks, unique_clicks, unsubscribes, delivery_rate, bounce_rate, complaint_rate, open_rate, click_rate, unsubscribe_rate, bounces.hard_rate, bounces.soft_rate, bounces.admin_rate, bounces.block_rate, bounces.undetermined_rate.
--starting-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.
NameDescription
bird email stats by-bounce-codeGet bounces by SMTP error code
bird email stats by-broadcastGet statistics by broadcast
bird email stats by-categoryGet statistics by category
bird email stats by-clientGet engagement by email client
bird email stats by-complaint-typeGet complaints by type
bird email stats by-locationGet engagement by location
bird email stats by-mailbox-providerGet statistics by mailbox provider
bird email stats by-mailbox-provider-regionGet statistics by mailbox provider region
bird email stats by-recipient-domainGet statistics by recipient domain
bird email stats by-sending-domainGet statistics by sending domain
bird email stats by-sending-ipGet statistics by sending IP
bird email stats by-tagGet statistics by tag
bird email stats by-templateGet statistics by template
bird email stats dailyGet daily sending statistics
bird email stats hourlyGet hourly sending statistics
bird email stats queryQuery email delivery and engagement metrics
bird email stats summaryGet aggregate email statistics

Continue with the documentation, guides and examples for this topic.