Sign inGet started

bird email competitive watchlist brands campaigns list

Usage

Code example
bird email competitive watchlist brands campaigns list <watchlist-brand-id> [flags]

Description

Takes a watchlist_brand_id from bird email competitive watchlist get. Returns a cursor page, default 25 rows and maximum 100. Cursors retain the brand, range and ordering: next_cursor advances with starting_after; prev_cursor or refresh_cursor reads preceding rows with ending_before. captured and promo_rate describe a sample independently of this page. next_cursor controls continuation; truncated can also describe the sample.
API-key calls require Insights preview access for your organization.
Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Code example
bird email competitive watchlist brands campaigns list <watchlist-brand-id>
bird email competitive watchlist brands campaigns list <watchlist-brand-id> | jq -r '.data[].id'
bird email competitive watchlist brands campaigns list <watchlist-brand-id> --limit 50 --starting-after <cursor>

Options

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 items to return per page.
--orderSort direction. Defaults to desc, which sorts from newest to oldest or largest to smallest, depending on the selected sort field. Possible values: asc, desc.
--sortField to sort campaigns by. Possible values: sent_at.
--starting-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.

Filters

NameDescription
--range <n>How many days back the response covers, counting from now. One of three fixed trend windows rather than an open date range, matching how a competitive-intelligence chart is read. Defaults to 30. Possible values: 7, 30, 90.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird email competitive watchlist brands campaigns getGet one campaign a watched brand sent