Skip to main content
POST
Create Analysis

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
string
required
workspace_id
string
required

Body

application/json

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
string
required

Website the analysis tracks, as a domain or subdomain (e.g. 'nike.com').

brand
string
required

Brand name to track, as users write it.

country
string
required

ISO 3166-1 alpha-2 country code of the collection (e.g. 'US').

language
string
required

Language code of the prompts (e.g. 'en'); the country-language pair must be one of the references.

sources
enum<string>[]
required

Engines to collect, by id as listed by the references (e.g. 'ChatGPT', 'Gemini'). At least one.

Available options:
Bing,
BingAIO,
ChatGPT,
Perplexity,
Google,
GoogleAIO,
GoogleAIMode,
Claude,
Gemini,
AmazonRufus,
Grok,
Copilot,
Mistral,
MuseSpark
prompts
PromptRequest · object[]
required

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.

name
string | null

Display name of the analysis. Defaults to ' - '.

brand_official_name
string | null

Official or legal name of the brand when it differs from the display name.

category
string | null

Industry or vertical of the brand (e.g. 'Running shoes'). Defaults to Uncategorized.

frequency
enum<string> | null

Collection frequency, by id as listed by the references. Defaults to ONCE.

Available options:
MONTHLY,
WEEKLY,
DAILY,
ONCE
query_fanouts_enabled
boolean
default:false

Whether to collect the query fan-outs (the sub-queries the engines run).

Response

Successful Response

id
string
required

Unique identifier of the analysis.

internal_id
string
required
deprecated

UUID v4 unique identifier of the analysis.

website
string
required

Website being tracked by this analysis.

brand
string
required

Primary brand name associated with the tracked website.

status
enum<string>
required

Lifecycle status of the analysis.

Available options:
ACTIVE,
DELETED,
PAUSED
sources
enum<string>[]
required

Search engines and AI sources monitored by this analysis.

Available options:
Bing,
BingAIO,
ChatGPT,
Perplexity,
Google,
GoogleAIO,
GoogleAIMode,
Claude,
Gemini,
AmazonRufus,
Grok,
Copilot,
Mistral,
MuseSpark
devices
enum<string>[]
required

Device types for which results are collected.

Available options:
DESKTOP,
MOBILE,
TABLET
country
string
required

Country code for which search results are collected (ISO 3166-1 alpha-2).

language
string
required

Language code used for queries in this analysis (BCP 47).

frequency
enum<string>
required

How often data collection runs.

Available options:
MONTHLY,
WEEKLY,
DAILY,
ONCE
query_fanouts_enabled
boolean
required

Whether query fan-out (expanded query variants) is enabled for this analysis.

category
string
required

Industry or vertical category this analysis belongs to.

thematics
AnalysisThematicResponse · object[]
required

Thematic groups defined in this analysis, each containing topics with their keywords.

created_at
string
required

ISO 8601 timestamp of when this analysis was created.

updated_at
string
required

ISO 8601 timestamp of when this analysis was last updated.

workspace_id
string | null

ID of the workspace this analysis belongs to.

name
string | null

Display name of the analysis, if set.

brand_official_name
string | null

Official legal or full name of the brand, if different from the display name.

website_type
enum<string> | null

Type of website being tracked. Null if not specified.

Available options:
DOMAIN,
SUBDOMAIN
personas
AnalysisPersonaResponse · object[]

Personas defined for this analysis.

Products or services linked to this analysis.

sub_brands
AnalysisSubBrandResponse · object[]

Sub-brands tracked within this analysis.

perceptions
AnalysisPerceptionResponse · object[]

Brand strengths and weaknesses defined for this analysis.