Compare on a map
sightglass_arena_comparePlace personas, ads, landing pages or companies (brands) on one or two 'this vs that' axes, the same map the user sees in Sightglass Arena. Each item gets a position per axis from 0 (most like the low end) to 100 (most like the high end), relative to the items returned, plus the raw similarity. Use a lens for the preset pairs (who it's for, why they buy, price and style, occasion) or pass your own axes, e.g. [{low: 'Minimal', high: 'Maximal'}]; omit high and the opposite is chosen for you. The user's own company and Brand Studio personas are included and marked isYou. Use it to answer 'where do we sit against these brands' or 'which buyers are nobody's focus'. 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 |
|---|---|---|---|
| axes | No | One or two axes; overrides lens | |
| kind | Yes | What to place: personas, ads, pages (landing pages) or companies | |
| lens | No | A preset pair of axes: who (Beginner↔Expert × Solo↔Social), why (Feeling↔Logic × Need↔Treat), price (Cheap↔Premium × Classic↔Modern), occasion (Everyday↔Special occasion × Solo↔Social). Ignored when axes is given | |
| 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 to compare; omit for the top companies. The project's own company is always added | |
| workspaceId | No | Replo workspace id, from list_workspaces. Sets which workspace's plan applies; required when the user has more than one workspace. |