Get a scan's competitor suggestions
Returns brands that at least two answers of the scan recommend for the same job as the brand, and that the scan did not track. Names the brand tracks now and rejected names are left out. To track a name, add it to the setup’s competitors with PATCH /v1/visibility-setups/{setup_id}; a name with a null url needs its website first. To stop a name from being suggested, reject it with PATCH /v1/brands/{brand_id}/competitor-suggestions.
/scans/{scan_id}/competitor-suggestionsAuthorizationBearer token · headerrequiredAPI key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.
AuthorizationOAuth2 access token · headerrequiredOAuth 2.1 sign-in (authorization code with PKCE) used by AI assistants that connect through the Zaraftis MCP server. Discovery URLs are at https://api.zaraftis.com/api/auth.
scan_idstring<uuid>requiredThe scan's competitor suggestions
successbooleanrequireddataCompetitorSuggestionsObjectrequiredUp to 20 names, most answers first. answers is the number of answers of this scan that recommend the name. url is null when no answer gave a website. Empty for a scan that is not finished or that ran before suggestions existed.
Show propertiesHide properties
scan_idstring<uuid>requiredbrand_idstring<uuid>requiredsuggestionsobject[]requiredShow propertiesHide properties
objectnamestringrequiredurlstring | nullrequiredShow propertiesHide properties
stringnullanswersintegerrequiredrequest_idstringrequirednot_found: unknown id, or an id this key cannot see
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
objectfieldstringrequiredcodestringrequiredrequiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequired