Find offers across brands
sightglass_find_offersOffer campaigns across brands. With no companyRefs, mode is 'top': the offers running across every tracked brand in the trailing window, sorted by how many ads carry them, how long they have run, or how deep the discount is. With companyRefs, mode is 'calendar': those brands' campaigns in a date window, side by side, for comparing promo timing. Use it for 'what offers are working in this market' and 'when do these brands run sales'. Fields the user's Replo plan doesn't include come back null and are named in that item's locked list (estimates = sales, visits and traffic); lockedCount is how many more results a higher plan shows. Say the data is on a higher plan; never estimate it yourself. Returns data only: nothing is shown to the user yet. Once you know the answer, call sightglass_show once with this call's resultId to show it as cards; the show call does not search again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Calendar only. YYYY-MM-DD; defaults to a week ahead | |
| days | No | Top offers only. Trailing window; defaults to 30. | |
| from | No | Calendar only. YYYY-MM-DD; defaults to six weeks back | |
| sort | No | Top offers only. ads = most ads carrying it, running = longest running, depth = deepest discount. | |
| limit | No | ||
| projectId | No | Replo project id, from list_projects: where the charge or the asset lands. Its workspace's plan applies. | |
| companyRefs | No | Company ids or slugs: returns the promo calendar for these brands. Omit for the top offers across every tracked brand. | |
| workspaceId | No | Replo workspace id, from list_workspaces. Sets which workspace's plan applies; required when the user has more than one workspace. |