Create Analysis
Create a Search analysis in the workspace: brand, website, engines, country and language, and the prompts, each naming its thematic, its topic and the persona of the workspace library asking it. The first collection starts right away and the workspace is debited one search credit per prompt. 402 when the workspace has fewer search credits than prompts; 422 when an engine is not in the references for this organization or when a persona id is unknown. Returns the analysis as GET /analyses/ does. Restricted to editors and above.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The body of POST /analyses: the setup an agent builds. The workspace is the path's, the
thematics and topics come from the prompts, every id is generated, the device is desktop.
Website the analysis tracks, as a domain or subdomain (e.g. 'nike.com').
Brand name to track, as users write it.
ISO 3166-1 alpha-2 country code of the collection (e.g. 'US').
Language code of the prompts (e.g. 'en'); the country-language pair must be one of the references.
Engines to collect, by id as listed by the references (e.g. 'ChatGPT', 'Gemini'). At least one.
Bing, BingAIO, ChatGPT, Perplexity, Google, GoogleAIO, GoogleAIMode, Claude, Gemini, AmazonRufus, Grok, Copilot, Mistral, MuseSpark Prompts to collect, each naming its thematic, its topic and its persona. At least one. The thematics and topics are created from the distinct names, in order of first appearance.
Display name of the analysis. Defaults to ' - '.
Official or legal name of the brand when it differs from the display name.
Industry or vertical of the brand (e.g. 'Running shoes'). Defaults to Uncategorized.
Collection frequency, by id as listed by the references. Defaults to ONCE.
MONTHLY, WEEKLY, DAILY, ONCE Whether to collect the query fan-outs (the sub-queries the engines run).
Response
Successful Response
Unique identifier of the analysis.
UUID v4 unique identifier of the analysis.
Website being tracked by this analysis.
Primary brand name associated with the tracked website.
Lifecycle status of the analysis.
ACTIVE, DELETED, PAUSED Search engines and AI sources monitored by this analysis.
Bing, BingAIO, ChatGPT, Perplexity, Google, GoogleAIO, GoogleAIMode, Claude, Gemini, AmazonRufus, Grok, Copilot, Mistral, MuseSpark Device types for which results are collected.
DESKTOP, MOBILE, TABLET Country code for which search results are collected (ISO 3166-1 alpha-2).
Language code used for queries in this analysis (BCP 47).
How often data collection runs.
MONTHLY, WEEKLY, DAILY, ONCE Whether query fan-out (expanded query variants) is enabled for this analysis.
Industry or vertical category this analysis belongs to.
Thematic groups defined in this analysis, each containing topics with their keywords.
ISO 8601 timestamp of when this analysis was created.
ISO 8601 timestamp of when this analysis was last updated.
ID of the workspace this analysis belongs to.
Display name of the analysis, if set.
Official legal or full name of the brand, if different from the display name.
Type of website being tracked. Null if not specified.
DOMAIN, SUBDOMAIN Personas defined for this analysis.
Products or services linked to this analysis.
Sub-brands tracked within this analysis.
Brand strengths and weaknesses defined for this analysis.