Archive API docs
QUERY

competitorBrand

Return a single Competitor Insights brand by ID for the current workspace, or null if no brand with that ID is tracked here. Also resolves the workspace's own-brand entry by its stable id. Pair with competitorBrandItems(brandId:, filter:, …) to paginate the brand's media items. If aggregate metrics are unavailable, roster data remains and the response includes a SERVICE_UNAVAILABLE error; match on extensions.code and retry later.

Arguments

date DateWithZone default: null
Anchor date (e.g. 2025-06-01) for the aggregation window. Defaults to today.
id ID! required
Competitor Insights brand ID. Also resolves the workspace's own-brand entry by its stable id.
period CompetitorBrandStatsPeriod default: MONTH
Aggregation window for the metric fields (WEEK or MONTH). Defaults to MONTH.

Returns

Returns CompetitorBrand .