Track how AI assistants mention, cite, and rank your brand and competitors in AI search.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Add brand facts to a website's Knowledge Base in bulk (1-50 per call). Each fact runs the full ingestion pipeline (deduplication, approval gates, pillar routing); there is no way to force-approve. Returns one outcome per fact (approved | pending | duplicate; extensible) with the created fact id and the pillar it was filed under. Facts without a pillar_id are routed automatically and may land unfiled. A fact similar to facts already in the Knowledge Base is not added: its outcome is duplicate and lists them under matches, and the response carries a match_token. To resolve, call again with those facts, the match_token, one decision per listed match (approve, optionally with new text, or delete) and save_submitted (true adds the facts as written, false only applies the decisions).
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
Tool list last changed Oct 25, 2026.
Add brand facts to a website's Knowledge Base in bulk (1-50 per call). Each fact runs the full ingestion pipeline (deduplication, approval gates, pillar routing); there is no way to force-approve. Returns one outcome per fact (approved | pending | duplicate; extensible) with the created fact id and the pillar it was filed under. Facts without a pillar_id are routed automatically and may land unfiled. A fact similar to facts already in the Knowledge Base is not added: its outcome is duplicate and lists them under matches, and the response carries a match_token. To resolve, call again with those facts, the match_token, one decision per listed match (approve, optionally with new text, or delete) and save_submitted (true adds the facts as written, false only applies the decisions).
| Argument | Type | Description |
|---|---|---|
| facts* | array | |
| decisions | array | |
| website_id* | string | |
| match_token | string | |
| save_submitted | boolean |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"facts"
],
"properties": {
"facts": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"pillar_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_url": {
"type": "string",
"maxLength": 2048
}
},
"additionalProperties": false
}
},
"decisions": {
"type": "array",
"items": {
"type": "object",
"required": [
"claim_id",
"action"
],
"properties": {
"text": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"action": {
"enum": [
"approve",
"delete"
],
"type": "string"
},
"claim_id": {
"type": "string"
}
},
"additionalProperties": false
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"match_token": {
"type": "string",
"maxLength": 200
},
"save_submitted": {
"type": "boolean"
}
},
"additionalProperties": false
}Add an article that is already written (for example, one drafted in this conversation) to the website's Content Hub as an editable draft. Same as pasting it into the Content Hub's blank editor: no AI model runs and no content credits are spent. Use create_content instead when Athena should research and write the piece. body is the full article in Markdown and is stored as given, except that link and image destinations with an unsafe scheme (javascript:, data:) become #. The item is created with type manual at stage generated, and the body is recorded as version 1, so get_content_draft, edit_content, revise_content and get_content_versions work on it right away. Pass title, or it is taken from the body's first heading (else its first line). sheet_id must be a tab from get_content_hub_sheets: a sheet-type tab keeps the item, a view-type tab or no sheet_id puts it in the shared pool. The item is not published. Once it is live on the site, call publish_content with its URL to start citation tracking.
| Argument | Type | Description |
|---|---|---|
| body | string | |
| title | string | |
| sheet_id | any | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"body": {
"type": "string",
"maxLength": 1000000
},
"title": {
"type": "string",
"maxLength": 200
},
"sheet_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Approve a content brief and start writing the article from it. Only valid while the piece is at status generated_brief. The article is generated from the brief exactly as it currently stands, including any revisions made with revise_brief or edits made in the app. Consumes content credits; poll get_content_status afterwards, then read the result with get_content_draft.
| Argument | Type | Description |
|---|---|---|
| content_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id"
],
"properties": {
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Check HTTP responses to AI crawler user agents and robots.txt permissions for a public website. No AthenaHQ account required. Search, retrieval and training are separate. Requests originate from AthenaHQ, not verified crawler IPs. Unknown responses are inconclusive; this does not measure visibility or guarantee indexing, citations or real crawler access. Use nullable evidence and diagnostics.
| Argument | Type | Description |
|---|---|---|
| domain* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"maxLength": 253,
"minLength": 1
}
},
"additionalProperties": false
}Generate an article or content brief in AthenaHQ. Fetches source URLs, sends source material to external AI providers, and consumes content credits. Obtain user approval before calling. Does not publish to a website or CMS. For draft mode, auto_approve defaults to true; set false to generate only a brief and wait for approve_brief. Poll get_content_status using each returned content_ids value. Slice mode returns slice_titles and an empty content_ids array; generated items appear in list_content. To save an already-written article without generation or credit use, call add_content.
| Argument | Type | Description |
|---|---|---|
| url | string | Source page URL. Required for snipe, optimize, and slice modes. A URL without a protocol, such as example.com/article, is accepted. |
| mode* | string | draft: generate a brief and optionally an article from tracked prompts. snipe: draft an article using a competitor URL as input. optimize: improve an existing page for AI search. slice: turn one source URL into several articles. |
| title | string | Article title. Required for draft, snipe, and optimize modes. |
| rec_id | string | |
| kb_mode | string | |
| rec_kind | string | |
| sheet_id | any | |
Create a location for a website
| Argument | Type | Description |
|---|---|---|
| country* | string | |
| location* | string | |
| prompt_ids | array | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"location",
"country"
],
"properties": {
"country": {
"type": "string",
"minLength": 1
},
"location": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Create a Knowledge Base pillar (a subject area that groups brand facts) from a name and optional description. Get-or-create semantics: if a pillar with the same name already exists, it is returned with created: false instead of failing, so retries are idempotent.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| website_id* | string | |
| description | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": {
"type": "string",
"maxLength": 2000
}
},
"additionalProperties": false
}Create a prompt tag on a website, or return the existing tag when its name matches case-insensitively. Trims surrounding whitespace and rejects reserved prompt-type names. Returns the tag ID and whether it was created. Use the returned ID to assign the tag to prompts; creating a tag does not assign it to any prompts.
| Argument | Type | Description |
|---|---|---|
| tag* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"tag"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Create one or more prompts on a website
| Argument | Type | Description |
|---|---|---|
| source | string | |
| prompts* | array | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"prompts"
],
"properties": {
"source": {
"enum": [
"manual",
"ai_generated",
"bulk_upload"
],
"type": "string"
},
"prompts": {
"type": "array",
"items": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"type": {
"anyOf": [
{
"enum": [
"discovery",
"high_intent"
],
"type": "string"
},
{
"type": "null"
}
]
},
"prompt": {
"type": "string",
"maxLength": 2000
},
"volume": {
"type": [
"string",
"null"
]
},
"tag_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
{
"type": "null"
}
]
},
"topic_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"countries": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"is_paused": {
"type": "boolean"
},
"persona_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
{
"type": "null"
}
]
},
"location_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
{
"type": "null"
}
]
},
"primary_country": {
"type": [
"string",
"null"
]
},
"current_total_value": {
"anyOf": [
{
"type": "number",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"current_monthly_searches": {
"anyOf": [
{
"type": "number",
"maximum": 2147483647,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Create a saved view (filter preset) for a website. Saved views appear in the dashboard filter bar for every member of the website. filters is an object keyed by filter field key, each value shaped {"id": "<unique string>", "field": "<same field key>", "operator": "is_any_of", "values": [...]}. Common field keys: "models" (slugs like "chatgpt", "perplexity", "google_ai_overview"), "competitors", "prompts", "personas", "locations", "promptTags", "attributes" (arrays of UUIDs from the matching list tools), "countries", "sourceTag". "promptTags" also accepts the builtin tokens "type:high_intent" (branded prompts) and "type:discovery" (non-branded) alongside tag UUIDs. "sourceTag" values are the builtin categories "owned", "competitor", "partner", "third_party" or custom source tag UUIDs, not display labels; custom source tag ids appear on existing saved views (list the website's saved views to find them). When unsure, list the website's saved views and mirror their filter shapes. icon, when set, must be a supported Remix icon name (e.g. "RiStarLine"); invalid names are rejected with the full list. When talking to the user about a view or its filters, use the dashboard names (Branded / Non-branded prompts, Owned / Competitor / Partner / Third party sources), never internal tokens, field keys, operator strings, or icon identifiers.
| Argument | Type | Description |
|---|---|---|
| icon | any | |
| name* | string | |
| filters* | object | |
| website_id* | string | |
| olympus_layout | object |
Create a topic on a website (returns the existing topic when the name is already taken)
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| website_id* | string | |
| description | any |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}Permanently delete 1-50 brand facts from a website's Knowledge Base. There is no undo. Ids that do not exist on the website are reported in not_found_ids rather than failing the call, so retries are idempotent. Requires an admin; on OAuth connections the signed-in user must have the admin role.
| Argument | Type | Description |
|---|---|---|
| fact_ids* | array | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"fact_ids"
],
"properties": {
"fact_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Delete a content row. Destructive: physical row delete, no undo. Powers delete-and-retry. Bulk delete is out of scope.
| Argument | Type | Description |
|---|---|---|
| content_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id"
],
"properties": {
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Delete a location from a website
| Argument | Type | Description |
|---|---|---|
| website_id* | string | |
| location_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"location_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"location_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Permanently delete 1-20 Knowledge Base pillars and every fact filed under them. Facts are deleted, not unfiled; there is no undo. Ids that do not exist on the website are reported in not_found_ids rather than failing the call, so retries are idempotent; ids in failed_ids are untouched and safe to retry. Requires an admin; on OAuth connections the signed-in user must have the admin role.
| Argument | Type | Description |
|---|---|---|
| pillar_ids* | array | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"pillar_ids"
],
"properties": {
"pillar_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Delete a prompt (soft when responses exist, hard otherwise)
| Argument | Type | Description |
|---|---|---|
| prompt_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"prompt_id",
"website_id"
],
"properties": {
"prompt_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Delete a topic (soft delete; optionally also delete its prompts)
| Argument | Type | Description |
|---|---|---|
| topic_id* | string | |
| website_id* | string | |
| delete_prompts | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"topic_id"
],
"properties": {
"topic_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"delete_prompts": {
"enum": [
"true",
"false"
],
"type": "string"
}
},
"additionalProperties": false
}Draft a pitch email to the author of a cited page and save it as the page's Outreach draft, replacing any previous draft. Uses the website's team-wide Outreach custom instructions, the saved author name, and the sender's name. Costs 0.1 credits per draft written (billed in whole credits every 10 drafts); free when the page cannot be read. Show the draft to the user before they send it; nothing is sent.
| Argument | Type | Description |
|---|---|---|
| url* | string | Cited page URL, e.g. "example.com/blog/best-tools". A contact already saved under this exact URL (for example one the Outreach page saved for a query variant its URL rules list separately) is used first. Otherwise protocol, "www." and the query string (tracking parameters) are ignored, as on the Outreach page. The page is always read at the URL given. |
| website_id* | string | |
| sender_name | string | Name to sign the email with. Defaults to the signed-in user's profile name; required for API-key sessions that should sign with a name. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Cited page URL, e.g. \"example.com/blog/best-tools\". A contact already saved under this exact URL (for example one the Outreach page saved for a query variant its URL rules list separately) is used first. Otherwise protocol, \"www.\" and the query string (tracking parameters) are ignored, as on the Outreach page. The page is always read at the URL given."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"sender_name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Name to sign the email with. Defaults to the signed-in user's profile name; required for API-key sessions that should sign with a name."
}
},
"additionalProperties": false
}Apply exact find-and-replace edits to a content draft's article body. Deterministic, no AI model involved: your replacement text lands verbatim (use revise_content when you want an AI rewrite from an instruction). Each edit's find text must match the current body exactly once; zero or multiple matches fail the whole call and nothing is saved, so extend the find text until it is unique. Edits apply in order, later ones see earlier results, and the batch is recorded as one new version, recoverable via get_content_versions / restore_content_version. Pass expected_version_number from get_content_draft to fail with a conflict when a new version was recorded after your read (a revision, edit, or restore). An app autosave changes the body without recording a version; that drift is caught by the anchors themselves, since a moved or vanished find text fails the call.
| Argument | Type | Description |
|---|---|---|
| edits* | array | |
| content_id* | string | |
| website_id* | string | |
| expected_version_number | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id",
"edits"
],
"properties": {
"edits": {
"type": "array",
"items": {
"type": "object",
"required": [
"find",
"replace"
],
"properties": {
"find": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"replace": {
"type": "string",
"maxLength": 10000
}
},
"additionalProperties": false
}
},
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expected_version_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
}
},
"additionalProperties": false
}Find more prompts for a finished Discover run: start the next round of its series with the same sources, effort level, country, language and custom instructions. The round skips every question the series already suggested and reads evidence earlier rounds did not use, so its prompts add to the same list. Invoke only after the user asks for more prompts from an existing run, and confirm with them first: each round runs the same paid research as a new run. A series takes one round at a time and at most two after the first run, and ends early after a round that found fewer than ten new prompts or nothing new to read; the tool then refuses with the reason. Returns the new round's run ID; poll the discovery history tool with it. Prompts are not added to tracking automatically. Requires prompt-management permission and the series' source entitlements.
| Argument | Type | Description |
|---|---|---|
| run_id* | string | A finished Discover run, or any finished round of its series, to continue. |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "A finished Discover run, or any finished round of its series, to continue."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Find who wrote a cited page and how to reach them, then save it to the page's Outreach contact. Reads the page's byline, the addresses the page publishes, and Hunter.io; when no author is found it returns the site's contact address and contact page instead. Every email comes with its source. Costs 0.1 credits when an author is found (billed in whole credits every 10 lookups); free otherwise. Overwrites the saved author fields. Obtain user confirmation before running it over many pages.
| Argument | Type | Description |
|---|---|---|
| url* | string | Cited page URL, e.g. "example.com/blog/best-tools". A contact already saved under this exact URL (for example one the Outreach page saved for a query variant its URL rules list separately) is used first. Otherwise protocol, "www." and the query string (tracking parameters) are ignored, as on the Outreach page. The page is always read at the URL given. |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Cited page URL, e.g. \"example.com/blog/best-tools\". A contact already saved under this exact URL (for example one the Outreach page saved for a query variant its URL rules list separately) is used first. Otherwise protocol, \"www.\" and the query string (tracking parameters) are ignored, as on the Outreach page. The page is always read at the URL given."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}AI Search Value for a website: topic-market value, captured value range, headroom, coverage, value-weighted AI share of voice, per-topic detail, and modeled attributed contribution.
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get cumulative brand trait (attribute) metrics: for each brand-perception keyword (e.g. 'Affordable', 'Slow Support'), how many AI responses mentioned it across the date range, and the percentage. `positive` selects the observation direction and defaults to true when omitted. `total_responses` is the denominator: responses in the date range that mention the brand AND had attribute extraction run on them. It is NOT every response for the website — responses that never mention the brand are excluded, and Athena samples which responses get extraction, so un-analyzed ones are excluded too. Compute rates from the returned `percentage` / `total_responses` rather than against a response count from another endpoint. Attributes nobody mentioned come back with response_count 0. Use get_competitor_attribute_metrics for the same breakdown per competitor.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| positive | boolean | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
},
"additionalProperties": false
},
"positive": {
"type": "boolean"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get individual brand trait (attribute) observations: each row is one AI response describing one entity (the brand or a competitor) with one brand trait, including the response excerpt as `text_span`. `score` runs from -1 to 1 and its sign always matches `positive`; its magnitude (0.1 to 1.0) is how strongly the wording praises or criticizes. `score` is null when the observation was not scored (extracted before scoring existed, or no valid value was recorded); for direction only, use `score ?? (positive ? 1 : -1)`. Omit `positive` for both directions. `sort: "intensity"` (the default) returns the strongest observations first with unscored ones last; `sort: "recent"` returns the newest first. Narrow with entity_ids and attribute_ids (from get_attributes). Paginate with page_num and page_size; a page can hold fewer than page_size rows when an excerpt is no longer available, so use `has_more` to decide whether to fetch the next page. Use get_attribute_metrics for how often each trait is mentioned.
| Argument | Type | Description |
|---|---|---|
| sort | string | "intensity" (default): strongest first, unscored last, then newest. "recent": newest first. |
| filters* | object | |
| page_num | integer | Zero-indexed page number. Defaults to 0. |
| positive | boolean | true for favorable observations only, false for critical ones only. Omit for both directions. |
| page_size | integer | Rows per page, 1 to 100. Defaults to 40. |
Get the daily trend for ONE brand trait (attribute), brand and competitors side by side — how mentions of a keyword like 'Affordable' moved over time. Requires an attribute_id: call get_attributes first to discover ids. `positive` selects the observation direction and defaults to true when omitted. Days with no data are returned as zeros, so the series is gap-free and chartable. Denominators are per-side, not the day's whole response set: brand_percentage divides by that day's responses that mention the brand (and had attribute extraction run), and competitor_percentage by responses that mention the tracked competitors. brand_total and competitor_total return those denominators explicitly. Competitor figures aggregate all tracked competitors unless competitor_ids narrows them.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| positive | boolean | |
| website_id* | string | |
| attribute_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters",
"attribute_id"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"positive": {
"type": "boolean"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"attribute_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}List the brand traits (called attributes in the API) tracked for a website: brand-perception keywords such as 'Affordable' or 'Slow Support'. Athena extracts these from AI model responses. Brand traits are direction-neutral; `positive` selects the directional series and defaults to true when omitted. Use this to discover attribute ids, then get_attribute_metrics for how often each is mentioned, or get_attribute_time_series for one attribute's trend over time.
| Argument | Type | Description |
|---|---|---|
| positive | boolean | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"positive": {
"type": "boolean"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}List a website's brand facts from the Knowledge Base, newest first, with offset paging. By default excludes facts generated by Oracle analysis; pass include_oracle=true to include them. Filters: pillar, review status (default approved), source type, and unfiled=true for facts not under any published pillar (unfiled and pillar_id are mutually exclusive).
| Argument | Type | Description |
|---|---|---|
| limit | string | |
| offset | string | |
| status | string | |
| unfiled | string | |
| pillar_id | string | |
| website_id* | string | |
| source_type | string | |
| include_oracle | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"limit": {
"type": "string",
"pattern": "^\\d+$"
},
"offset": {
"type": "string",
"pattern": "^\\d+$"
},
"status": {
"enum": [
"approved",
"pending",
"rejected"
],
"type": "string"
},
"unfiled": {
"enum": [
"true",
"false"
],
"type": "string"
},
"pillar_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_type": {
"enum": [
"research",
"response",
"upload",
"content_hub"
],
"type": "string"
},
"include_oracle": {
"enum": [
"true",
"false"
],
"type": "string"
}
},
"additionalProperties": false
}Get cumulative citation rate — average citation rate for each competitor across the date range.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"saved_view_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Saved view to apply (list them with get_saved_views). Its filters apply as the dashboard's metric cards apply them, including its defaults of active prompts and every model. Any filter also sent here replaces the view's value for that field. The view's date range is ignored: start_date and end_date decide the window."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get citation rate over time — how often AI models cite (link to) the website, grouped by day.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"saved_view_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Saved view to apply (list them with get_saved_views). Its filters apply as the dashboard's metric cards apply them, including its defaults of active prompts and every model. Any filter also sent here replaces the view's value for that field. The view's date range is ignored: start_date and end_date decide the window."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get brand trait (attribute) metrics per tracked competitor: for each competitor and each brand-perception keyword (e.g. 'Affordable'), how many AI responses mentioned that keyword for that competitor, and the percentage. Use with get_attribute_metrics to compare the brand against competitors. `total_responses` is per-competitor: responses in the date range that mention THAT competitor and had attribute extraction run on them. Each competitor therefore has its own denominator, and none of them is the website's total response count. `positive` selects the observation direction and defaults to true when omitted. Returns one row per competitor per attribute, so results can be large — filter with competitor_ids. Competitors with no responses in the date range are omitted entirely rather than returned with zeros.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| positive | boolean | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"positive": {
"type": "boolean"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}List competitors tracked for a website
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}For a single tracked content item, list every prompt whose AI responses cited it — with citations, citation %, and estimated impressions. Use after get_tracked_content to drill into which prompts a given URL is appearing for. This is CITED-BY, measured over the requested date range, not the targeting the page was written for: an empty prompts array means no AI response cited this URL in that window, which is expected for new or never-cited pages and is not missing data. For the prompts a page was written to target, read `prompts` on get_content_detail (or prompt_ids on list_content) — those come from the content record itself and do not depend on any citation having happened.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| mentioned | boolean | |
| content_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"mentioned": {
"type": "boolean"
},
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Fetch the full detail of a single tracked content item — its brief and body text (drafts, optimize rewrites, snipes, authored and scraped pages), plus status, cited source URLs, and links. Use after get_tracked_content to read the actual text behind a content_id. A status of generated_brief means the brief is ready while the article is still being written. Pages registered via track_content_urls return a null body and null status until their page text is fetched from the app — a null body on an external page means not fetched yet, not missing content; citation tracking does not need the body. `prompts` lists the prompts this page was WRITTEN FOR (the same ids create_content takes), newest-linked last, capped at 100 with the true size in `prompts_total`. When prompts_total exceeds 100 the rest are not currently readable through any tool — report the total, do not imply the list is complete. Entries carry status active, paused or deleted: a deleted prompt is still part of what the page was written for and still shows in the Content Hub, but get_prompts will not list it, so use the text returned here. An empty array means the page has no prompt targeting, which is normal for imported or externally tracked pages. That is a different question from get_content_citation_prompts, which lists prompts whose AI responses CITED the page. To see the reworded variants actually asked of the models for these prompts, pass their ids to get_responses (each row carries base_prompt plus the variation as prompt) or query the responses cube via query_rows on the prompt_variation dimension.
| Argument | Type | Description |
|---|---|---|
| content_id* | string | |
| website_id* | string |
Read the current draft text of a content item — the article body as it stands right now, including every revision applied so far. Use this before revise_content to see what you are changing, and after it to confirm the result. A status of generated_brief means the brief is ready while the article is still being written, so body may still be empty. For the full record (cited urls, links, social posts) use get_content_detail instead.
| Argument | Type | Description |
|---|---|---|
| content_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id"
],
"properties": {
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}List the Content Hub tabs/sheets configured for a website. Use to discover available tabs (e.g. 1st-party content, 3rd-party placements, Reddit) before calling get_tracked_content with a specific sheet_id (metrics; excludes in-flight pipeline items) or list_content (every item including unpublished drafts).
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get the normalized pipeline status (running | succeeded | failed) for one content row, plus the raw stage behind it. Read-only. Poll once per contentId returned by create_content (content.pipeline.start). A stage of generated_brief with status running means the brief is ready and waiting — for a non-auto-approve draft it stays there until approve_brief is called, so do not treat running as always in progress. Not meaningful for tracked pages (track_content_urls / external rows): they have no generation pipeline and report running with a null stage forever — read them via get_tracked_content or get_content_detail instead.
| Argument | Type | Description |
|---|---|---|
| content_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id"
],
"properties": {
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Read the full text of one saved version of a content item. Use it to compare two passes (fetch both and diff them yourself) or to check what an earlier version said before restoring it.
| Argument | Type | Description |
|---|---|---|
| content_id* | string | |
| version_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id",
"version_id"
],
"properties": {
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}List the saved versions of a content item, newest first. Each entry carries its version number, label, how it was produced, and who made it. Use it to see how a draft evolved, then get_content_version to read a specific one, or restore_content_version to go back to it.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| offset | integer | |
| content_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Read recorded organization credit consumption: total, hourly (24h) or daily trend, and charged website/group/organization pools. Use for spending trends and biggest charged pools; the credit-balance tools read current balances. For 'this month' or a specific spike, supply explicit UTC window boundaries; 30d is rolling, not a calendar month. State the returned interval. A group pool is not an originating website. The breakdown may exclude unattributed usage or be capped by the billing provider; totalCreditsUsed is authoritative, not the sum of displayed entities. Negative credits are refunds. Entities are paginated: continue with window and nextOffset while hasMore. Use credit-usage events to inspect recorded actions. Requires organization billing access on a signed-in connection, or a global organization API key. Website-scoped keys are not supported. Read-only.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| range | string | |
| offset | integer | |
| window | object | Explicit UTC interval within recorded history, ending no later than now. For the current month or today, use the current UTC time as endAtUtc, not the next calendar boundary. Reuse both returned boundaries when paging. |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"range": {
"enum": [
"24h",
"7d",
"30d",
"90d",
"all"
],
"type": "string"
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0
},
"window": {
"type": "object",
"required": [
"start_at_utc",
"end_at_utc"
],
"properties": {
"end_at_utc": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"start_at_utc": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"description": "Explicit UTC interval within recorded history, ending no later than now. For the current month or today, use the current UTC time as endAtUtc, not the next calendar boundary. Reuse both returned boundaries when paging.",
"additionalProperties": false
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Read a page of recorded credit charges/refunds and action labels for the organization, optionally filtered by originatingWebsiteId. Use to inspect a usage spike or charges behind a total. Use credit-usage totals for complete period totals. Supply explicit UTC window for calendar months. Continue with returned window, originatingWebsiteId, and nextOffset while hasMore; never compute the next offset from returned row count. Limit bounds underlying operations, each may split into several charged-pool rows. One page is not a complete action breakdown. 'Not recorded' means unknown historical action/site attribution, never infer it. Unknown raw action tags are preserved. Negative credits are refunds. Requires organization billing access on a signed-in connection, or a global organization API key. Website-scoped keys are not supported. Read-only.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| range | string | |
| offset | integer | |
| window | object | Explicit UTC interval within recorded history, ending no later than now. For the current month or today, use the current UTC time as endAtUtc, not the next calendar boundary. Reuse both returned boundaries when paging. |
| website_id* | string | |
| originating_website_id | string |
Get credit balance for the organization
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Get credit balance for a specific website
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get the earliest and latest response dates for a website
| Argument | Type | Description |
|---|---|---|
| website_id* | string | |
| schedule_id | any | One schedule: "default" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired "manual" token is accepted as an alias of "default". Schedules cannot be combined. |
| prompt_status | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string"
}
}
}Fetch a single group by id with its member websites.
| Argument | Type | Description |
|---|---|---|
| group_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"group_id"
],
"properties": {
"group_id": {
"type": "string"
}
}
}List group-level saved views (filter presets) shared across the websites in a group
| Argument | Type | Description |
|---|---|---|
| group_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"group_id"
],
"properties": {
"group_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}List all groups in the organization (global API key only)
| Argument | Type | Description |
|---|---|---|
| external_id | string | Partner API keys only. Filter by the partner-issued external id mapped to a group. Non-partner API keys passing this field receive 403. Omit unless you are a partner integration. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"external_id": {
"type": "string",
"minLength": 1,
"description": "Partner API keys only. Filter by the partner-issued external id mapped to a group. Non-partner API keys passing this field receive 403. Omit unless you are a partner integration."
}
}
}Read the identifiers of the website's brand, or of one competitor: the names, aliases and domains Athena looks for in AI responses to count a mention. default_identifiers (the name and domain) are always matched and cannot be removed; identifiers lists every other value, as the Competitors page shows them. case_sensitive tells whether matching respects letter case. Read this before update_identifiers. Read-only.
| Argument | Type | Description |
|---|---|---|
| website_id* | string | |
| competitor_id | string | The competitor to read or edit, from get_competitors. Omit it for the website's own brand. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"competitor_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The competitor to read or edit, from get_competitors. Omit it for the website's own brand."
}
},
"additionalProperties": false
}List geo-locations configured for a website
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get cumulative mention rate — average mention rate for each competitor across the date range. mention_rate is absolute (share of all responses); relative_mention_rate is the share of responses mentioning any tracked brand.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"saved_view_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Saved view to apply (list them with get_saved_views). Its filters apply as the dashboard's metric cards apply them, including its defaults of active prompts and every model. Any filter also sent here replaces the view's value for that field. The view's date range is ignored: start_date and end_date decide the window."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get mention rate over time — how often AI models mention the website by name, grouped by day. mention_rate is absolute (share of that day's responses); relative_mention_rate is the share of that day's responses mentioning any tracked brand.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"saved_view_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Saved view to apply (list them with get_saved_views). Its filters apply as the dashboard's metric cards apply them, including its defaults of active prompts and every model. Any filter also sent here replaces the view's value for that field. The view's date range is ignored: start_date and end_date decide the window."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}When grounding is present, use its complete team-confirmed statement and all supporting facts as joint evidence; the legacy fact ID/text are only a compatibility anchor. Load one Oracle finding in full: the flagged claim with its verified fact and prompt text, the run it came from, a ~2000-character response excerpt centered on the quoted claim, the cited-page evidence captured during the run (url, quote, snippet, scrape_hash), and its lineage: sibling findings sharing its lineage_id across runs, newest first. Use after get_oracle_findings to interrogate a specific finding. Returns a not-found error for an unknown finding id, and status 'no_access' if the brand does not have Oracle v2.
| Argument | Type | Description |
|---|---|---|
| finding_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"finding_id"
],
"properties": {
"finding_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}When grounding is present, use its complete team-confirmed statement and all supporting facts as joint evidence; the legacy fact ID/text are only a compatibility anchor. List Oracle accuracy findings for a website: places where an AI response contradicted a verified brand fact (type 'inaccuracy' or 'kb_issue', with quote, claim, and reason) or where two knowledge-base facts conflict ('kb_duplicate' / 'kb_contradiction', pairing fact_text with related_fact_text). Findings from every status are included by default (pending, acknowledged, ignored, ...), each row carrying its status — pass the status filter for pending items only. Filters (run_id, fact_id, lineage_id, response_id, prompt_id, source_url, type, kind, severity, status) AND-compose; source_url matches evidence URLs exactly after normalization (protocol and trailing slash ignored). 'total' is the pre-limit count. 'latest_run' is the newest scan of any kind and is null only when the website has never been scanned, so latest_run plus empty findings means it scanned clean, while latest_run null means never scanned, not clean. Archived findings from before the current scanner ARE included: their run carries 'is_imported': true and keeps its original started_at, so an import can be the newest run — say the history is archived rather than calling it a current scan. 'has_imported_history' is true when any such archived run exists, and every finding row carries 'run_is_imported' so archival and current rows stay distinguishable in one list. Returns status 'no_access' if the brand does not have Oracle v2; that response carries the status alone, with no counts or findings.
| Argument | Type | Description |
|---|---|---|
| kind | string | |
| type | string | |
| limit | integer | |
List personas configured for a website with per-persona prompt counts. Use it to resolve persona_id values returned by other tools to persona names and descriptions.
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Fetch a pillar's synthesized markdown document from the Knowledge Base. Returns document: null when the pillar exists but has no synthesized document yet.
| Argument | Type | Description |
|---|---|---|
| pillar_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"pillar_id"
],
"properties": {
"pillar_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}List a website's Knowledge Base pillars (excluding archived ones) with approved-fact counts, whether a synthesized document exists, and when each pillar was last researched.
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Get a pitch report by ID including competitors, prompts, attributes, top citing sources, and aggregate metrics (brand mentions, sentiment, response rate).
| Argument | Type | Description |
|---|---|---|
| pitch_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pitch_id"
],
"properties": {
"pitch_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get cumulative position — average ranking position for each competitor across the date range.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"saved_view_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Saved view to apply (list them with get_saved_views). Its filters apply as the dashboard's metric cards apply them, including its defaults of active prompts and every model. Any filter also sent here replaces the view's value for that field. The view's date range is ignored: start_date and end_date decide the window."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get position distribution: share of responses where the brand ranks top/middle/bottom across the date range.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"saved_view_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Saved view to apply (list them with get_saved_views). Its filters apply as the dashboard's metric cards apply them, including its defaults of active prompts and every model. Any filter also sent here replaces the view's value for that field. The view's date range is ignored: start_date and end_date decide the window."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get ranking position over time — average position of the website in AI model responses, grouped by day.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"saved_view_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Saved view to apply (list them with get_saved_views). Its filters apply as the dashboard's metric cards apply them, including its defaults of active prompts and every model. Any filter also sent here replaces the view's value for that field. The view's date range is ignored: start_date and end_date decide the window."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Read Discover history and progress for a website, or supply the run ID returned by discovery launch to inspect one study. Distinguishes pending, running, completed, partial, failed and cancelled. limit bounds returned runs (default 10, maximum 20); has_more means older runs remain. This is read-only: it does not start research, monitor in the background or send notifications. Candidate results can be reviewed in the application's Discover page. Requires permission to view prompts; source visibility restrictions still apply.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| run_id | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1
},
"run_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}List the Default, custom and archived streaming schedules for a website. Use each row's selection value when filtering analytics or responses. Default includes all pre-cutover history and ad hoc runs; archived schedules retain results. To combine schedules, pass several selection values as an array in the schedule field of query_metrics and query_rows, or use a saved view that stores several schedules. Partner REST filters take one schedule. starts_on and ends_on bound a custom schedule's active period as UTC days (null means no bound); an active schedule outside its period does not run.
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}List prompt tags for a website with per-tag prompt counts. Tag IDs can be used with the prompt_tags filter on the prompts endpoint.
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}List prompts (search queries) tracked for a website
| Argument | Type | Description |
|---|---|---|
| status | string | |
| website_id* | string | |
| prompt_tags | array | |
| prompt_tags_operator | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"status": {
"enum": [
"active",
"paused"
],
"type": "string"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string"
}
}
}Fetch a single LLM response by id with full sources, mentions, and rank details.
| Argument | Type | Description |
|---|---|---|
| website_id* | string | |
| response_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"response_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"response_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Read the latest (or a specific) response-streaming run's whole-run state and response-queue progress. Only completed means downstream analysis has finished
| Argument | Type | Description |
|---|---|---|
| website_id* | string | |
| workflow_id | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workflow_id": {
"type": "string"
}
}
}Get LLM responses for a website. Shows how AI models answer queries, with sources, sentiment, and ranking data. Filter by whether a model used search queries or by text within those queries. For a variation-level export at volume, pair filters.variation_filter with include_response: false and compact_sources: true. That keeps the prompt, its variation, the model, the mentioned/cited flags and the cited domains while dropping the answer text, cutting each row to roughly a tenth of its size.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| page_num | number | |
| page_size | number | |
| website_id* | string | |
| compact_sources | boolean | Replace the per-source `sources` objects with `source_domains`, a deduped, sorted list of cited root domains. Defaults to false. Use when you need which domains were cited but not their exact URLs. |
| include_response | boolean | Include the full answer text on each row. Defaults to true. Set false to omit the `response` field entirely (the heaviest part of a row) when you only need which prompt/variation ran and how it scored. |
List saved views (filter presets) for a website
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Read saved Google organic rankings by explicit market and device alongside observed AI visibility. Includes recent history, missing-data reasons, freshness and committed provider budget. Does not trigger collection.
| Argument | Type | Description |
|---|---|---|
| website_id* | string | |
| property_id | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"property_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Get cumulative share of voice — overall SOV for each competitor across the date range. Each entry also includes relative_mention_rate: the share of responses mentioning any tracked brand that mention this entity.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"saved_view_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Saved view to apply (list them with get_saved_views). Its filters apply as the dashboard's metric cards apply them, including its defaults of active prompts and every model. Any filter also sent here replaces the view's value for that field. The view's date range is ignored: start_date and end_date decide the window."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get share of voice over time — how often the website is mentioned vs competitors, grouped by day. Each entry also includes relative_mention_rate: the share of that day's responses mentioning any tracked brand that mention this entity.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"saved_view_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Saved view to apply (list them with get_saved_views). Its filters apply as the dashboard's metric cards apply them, including its defaults of active prompts and every model. Any filter also sent here replaces the view's value for that field. The view's date range is ignored: start_date and end_date decide the window."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}Get the Shopping Insights dashboard for a website over a date range: how often the brand's products appear in AI shopping answers (product carousels) versus competitors, average position and price, the top own and competitor products, the competitor leaderboard, retailer (merchant) breakdown, rank distribution, price comparison, and a daily appearances trend. Rates are percentages 0-100; positions are 1-based (lower is better). Requires a paid plan.
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| website_id* | string | |
| top_products_limit | integer | How many products to return in each of top_own_products and top_competitor_products, 1 to 50. Defaults to 10. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"ai_mode",
"gemini"
],
"type": "string"
},
"description": "Shopping-capable models to include, as an array even for one model: any of \"chatgpt\", \"ai_mode\" and \"gemini\". Omit for all."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End of the date range, YYYY-MM-DD (UTC), inclusive. Omit for today."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start of the date range, YYYY-MM-DD (UTC), inclusive. Required."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. Schedules cannot be combined."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to keep in the competitor blocks, as an array even for one id. Own products are always included. Omit for all competitors."
},
"target_identifiers": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Target identifier strings to filter responses to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
},
"additionalProperties": false
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"top_products_limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "How many products to return in each of top_own_products and top_competitor_products, 1 to 50. Defaults to 10."
}
},
"additionalProperties": false
}List individual cited URLs (pages) for a website with citation, mention, and impression metrics plus a per-URL daily sparkline. Each row is classified as owned / competitor / partner / third_party. Companion to get_sources (root-domain-level). Supports filters (date range, models, prompts, competitors, locations, personas), search, sort, and pagination.
| Argument | Type | Description |
|---|---|---|
| search | string | null | |
| filters* | object | |
| page_num | integer | |
| mentioned | string | |
| page_size | integer | |
| sort_field | string | |
| website_id* | string | |
| sort_direction | string | |
| competitors_mentioned | string |
List top cited sources (root domains) for a website with citation, mention, brand-mention, and impression metrics. Each row is classified as owned / competitor / partner / third_party. Supports filters (date range, models, prompts, competitors, locations, personas), sort, and pagination via page_num / page_size.
| Argument | Type | Description |
|---|---|---|
| search | string | null | |
| filters* | object | |
| page_num | integer | |
| mentioned | string | |
| page_size | integer | |
| sort_field | string | |
| website_id* | string | |
| sort_direction | string | |
| competitors_mentioned | string |
List topics (groupings of prompts) for a website, with the count of prompts in each
| Argument | Type | Description |
|---|---|---|
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}List tracked content (1st-party drafts, imported pages, 3rd-party placements) with citation, mention, and impression metrics for the supplied date range and filters. Supports pagination via page_num / page_size and optional filtering by Content Hub sheet_id or content_type. A sheet_id of a view-type tab (see get_content_hub_sheets sheet_type) lists the shared main pool: content not filed in any sheet. In-flight pipeline items (drafts, briefs, running generations) never appear here; enumerate those with list_content. A returned item can still lack a url (pipeline finished but not published anywhere yet).
| Argument | Type | Description |
|---|---|---|
| filters* | object | |
| page_num | integer | |
| sheet_id | string | Content Hub tab to list (get_content_hub_sheets). A sheet-type tab lists its own content; a view-type tab, the default tab included, lists the shared main pool (content not filed in any sheet), without the view's saved filters. Omit to list content on every tab. |
| mentioned | boolean | |
| page_size | integer | |
| website_id* | string | |
| content_type | string |
Look up a user by email address, scoped to the caller's organization. Returns 404 when the email does not belong to a member of the organization or of one of its websites.
| Argument | Type | Description |
|---|---|---|
| email* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"email"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"minLength": 1
}
}
}Enumerate every content item in a website's Content Hub, published or not: in-flight drafts, briefs, snipes, optimize and slice runs, scheduled and failed items, plus tracked pages. Returns identity fields only (id, title, type, stage, sheet, URL, timestamps, target prompt ids), no metrics. Uncached and Postgres-backed, so an item created by create_content is listable immediately. Filter by sheet_id, content_type, stage, or prompt_id. stage is the raw pipeline workflow state, not a publication flag: null = no pipeline record (most tracked external / imported pages), and manual editor items carry 'generated'. Treat an item as published only when its stage is done (or it is an external / imported page) AND it has a url; done without a url is an unpublished orphan. A sheet_id of a view-type tab (see get_content_hub_sheets sheet_type) lists the shared main pool without the view's saved filters. Use get_tracked_content for citation and impression metrics on published content; use this tool to discover what exists. Each row carries prompt_ids: the prompts that item was WRITTEN FOR (what create_content was given), capped at 25 with the true size in prompt_count — resolve the ids to text with get_prompts rather than calling get_content_detail per row, and drill in with get_content_detail where prompt_count exceeds the ids returned (that read carries up to 100; associations past 100 are not currently readable). prompt_ids includes soft-deleted prompts, which get_prompts does NOT list — an id that fails to resolve there is a deleted prompt, and get_content_detail returns its text and status: "deleted". Empty prompt_ids means no targeting was recorded, which is normal for imported or externally tracked pages. This is not the same as being cited for a prompt — see get_content_citation_prompts for that. Filter by prompt_id for the reverse question: which content already targets a given prompt (coverage gaps).
| Argument | Type | Description |
|---|---|---|
| stage | string | |
| page_num |
Read saved Outreach contacts: cited pages with their status, author, email and where the email came from, LinkedIn, contact page, and pitch draft. Only pages someone has triaged, enriched or drafted are listed; find other cited pages with the source-page analytics tools. Newest first; use offset for the next page. Read-only.
| Argument | Type | Description |
|---|---|---|
| url | string | Return only this page's contact. Omit to list all. |
| limit | integer | Contacts per page: 1 through 50, default 20. |
| offset | integer | |
| statuses | array | Only contacts in these statuses. Omit for all. |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Return only this page's contact. Omit to list all."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Contacts per page: 1 through 50, default 20."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"statuses": {
"type": "array",
"items": {
"enum": [
"New",
"Todo",
"In Progress",
"Done",
"Rejected"
],
"type": "string",
"description": "Pipeline status. \"New\" means untriaged; \"Rejected\" removes the page from the active queue."
},
"description": "Only contacts in these statuses. Omit for all."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}List pitch workspace reports for the organization. Returns all non-deleted pitches with their status and metadata.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}List every website accessible to the calling session. Works with any API key (global or scoped) and with MCP/OAuth sessions. Call with an empty argument object `{}`. Each item includes `baseCountry`, the country market the website targets: use it to tell same-brand websites for different countries apart.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Merge 1-20 source pillars into a published target pillar: every fact on the sources (any review status) re-files onto the target, page links carry over keeping the stronger signal, and the source pillars are then deleted. The target must be a published pillar and must not appear among the sources. Unlike the other Knowledge Base writes, retries are strict: missing source ids are rejected rather than skipped, so re-read the pillars before retrying a failed merge.
| Argument | Type | Description |
|---|---|---|
| website_id* | string | |
| target_pillar_id* | string | |
| source_pillar_ids* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"target_pillar_id",
"source_pillar_ids"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"target_pillar_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_pillar_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
},
"additionalProperties": false
}File 1-50 brand facts under a published Knowledge Base pillar — works for unfiled facts and re-files facts from other pillars. Review status never changes, and only approved facts under a published pillar feed content generation, so moving is what puts approved facts to work. Missing ids are reported in not_found_ids rather than failing the call, so retries are idempotent.
| Argument | Type | Description |
|---|---|---|
| fact_ids* | array | |
| pillar_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"pillar_id",
"fact_ids"
],
"properties": {
"fact_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"pillar_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Move one or more content items to a different Content Hub sheet, or back to the shared pool. Sheet assignment is organizational metadata only: a move never changes an item's stage, brief, body, versions, URL, or metrics, and the item stays fully readable and revisable. targetSheetId must be a "sheet"-type tab from the Content Hub sheets list — view-type tabs (e.g. All content) are computed filters, not assignable; pass null to unassign back to the shared pool they display. Batch is all-or-nothing: if any contentIds entry does not belong to the website, nothing moves. Custom-column values follow each item when the target has a matching column (same name and type; missing columns are auto-created); values whose column conflicts by type are dropped, and multi-select selections whose option is missing on the matched target column are removed — both counts are reported. Each moved item is returned with its previous and new sheet id so no follow-up read is needed.
| Argument | Type | Description |
|---|---|---|
| website_id* | string | |
| content_ids* | array | |
| target_sheet_id* | any |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_ids",
"target_sheet_id"
],
"properties": {
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"content_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"target_sheet_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}Open the AthenaHQ AI crawler access panel. Enter a public HTTPS domain to inspect crawler responses and robots.txt permissions without an AthenaHQ account.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"additionalProperties": false
}Record an already-published article's URL in AthenaHQ for citation and mention tracking. Does not upload or publish content to a website or CMS. Call only after the article is live. Sets the first publication time and moves the pipeline stage to done. A first publish requires a finished article (stage generated), with one exception: an optimize draft is created from a page that is already live and can be marked published while it waits at stage pending, as long as no Athena review is running on it. Briefs, still-generating or failed pieces, optimize drafts with a review in flight, and items with a scheduled CMS publish are rejected with the reason. Pass the exact public URL of the live page (a bare domain path like acme.com/blog/post is fine; the protocol is stripped on store). Calling it again on an already-published item (including external and imported pages, which are live by definition) updates the tracked URL only, keeping the original publish time. This is the only way to set a content URL over MCP; rename_content is deliberately title-only.
| Argument | Type | Description |
|---|---|---|
| url* | string | |
| content_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id",
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Query aggregated metrics for brand performance, competitors, sources, citations, and response trends. Use query_rows for individual records. Mentions: from "response_mentions". Citations: from "citations". On either, where { is_website: true } selects the brand; { is_competitor: true } selects competitors; { entity_id: { eq: "<uuid>" } } selects one entity. Filter/group models by model_category (display names like "ChatGPT", "Claude"), never "model". Dimensions vary by cube; source_mentions has no prompt/model dimensions. Group by week (Monday start) or month wherever date groups. prompt_status is the paused flag (true = paused). Measures: count, count_distinct, avg, sum, min, max; per-measure where enables conditional aggregation. Use compare for two date ranges. When grouping by IDs, use alsoSelect for names: entity_id/entity_name, prompt_id/prompt_text, prompt_topic_id/topic_name (prompts uses topic_id). Cited pages mentioning competitors but not the brand: from "sources", where { source_mentions_entity: { hasSome: [competitorIds], hasNone: [brandId] } }. Also works on "source_mentions". Checks all stored page mentions per URL/website. Date/model on sources scope AI responses; extracted page content may be older than the live page. Content-hub attribution: on "sources", where { is_attributed_content: true }; by: ["content_id"], alsoSelect: ["content_title"]. Add content_type to by for type, or group by content_type alone. Read articles from "contents" via query_rows. Schedule: select one "default" or custom/archived UUID from the catalog, or an array of them to combine schedules. Omit for caller default (current page in Ask Athena); explicit schedule overrides it. Top-level prompt_schedule_kind/id equality filters remain supported but must not conflict with schedule. Historical provenance is independent of current prompt membership; website-level cubes are unaffected.
| Argument | Type | Description |
|---|---|---|
| by | array | GROUP BY dimensions. Omit for scalar result. |
| from |
Query individual analytics rows. Use for qualitative data like response text, specific identifiers, or individual mentions. Schedule selection: pass schedule: "default" or a custom/archived UUID from the schedule catalog, or an array of them to combine schedules. Omit to use the caller default (Ask Athena uses the current page selection). Explicit selection overrides that default. Existing top-level equality predicates on prompt_schedule_kind/id remain supported, but cannot conflict with schedule. Historical provenance does not change with current prompt membership. Website-level cubes are unaffected. Cubes (same set as query_metrics): attributes, citations, competitors, contents, prompts, response_mentions, responses, source_mentions, sources, topics, websites. Returns { rows, nextCursor, hasMore }. Pass nextCursor back as "after" to paginate. prompt_status is the prompt's paused flag (boolean, true = paused), not a status string. On the responses cube, content is hydrated from Postgres and can only be selected. Do not filter or sort by content. Use search_terms_in_responses for text frequency analysis. Use query_metrics for aggregates instead.
| Argument | Type | Description |
|---|---|---|
| from* | string | Dataset to query. Cubes and their contracts: Each cube lists its selectable fields, then: filter-only (usable only in where), alsoSelect (name←id: group by the id, pass the name in alsoSelect), groupable (the only fields accepted in by), max limit (the most rows one call returns), and order by index (dims in orderBy that are not in by must follow this order, skipping allowed). websites: created_at, default_language, industry, normalized_url, org_id, website_id, website_name, website_url | groupable: website_id, org_id, industry, default_language | max limit 1000 (default 100) | order by index: website_id competitors: created_at, entity_id, entity_name, website_id | alsoSelect: entity_name←entity_id | groupable: website_id, entity_id | max limit 1000 (default 100) | order by index: website_id, entity_id prompts: created_at, is_paused, language, monthly_searches, prompt_id, prompt_text, prompt_type, topic_id, topic_name, total_value, website_id | filter-only: prompt_tag_ids | alsoSelect: topic_name←topic_id | groupable: website_id, topic_id, prompt_type, is_paused | max limit 1000 (default 100) | order by index: website_id, monthly_searches, total_value, prompt_id responses: cited, company_count, country, date, location_id, model_category, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, prompt_variation, response_id, sentiment, sentiment_score, target_identifiers, target_rank, topic_name, website_id, content | filter-only: is_base_prompt, prompt_tag_ids, response_mentions_entity | alsoSelect: prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, prompt_id, model_category, sentiment, prompt_type, prompt_topic_id, persona_id, location_id | max limit 100 (default 100) | order by index: website_id, date, prompt_id, response_id response_mentions: country, date, entity_id, entity_name, identifier, is_website, location_id, mention_id, model_category, persona_id, position, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, rank, rank_percentile, response_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, ranked_count, response_mentions_entity | alsoSelect: entity_name←entity_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, is_website, prompt_id, model_category, prompt_topic_id, persona_id, location_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id attributes: attribute_id, attribute_mention_id, attribute_name, country, date, entity_id, entity_name, is_website, location_id, model_category, persona_id, positive, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, response_mentions_entity | alsoSelect: entity_name←entity_id, attribute_name←attribute_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, attribute_id, positive, is_website, prompt_topic_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id, attribute_id sources: content_id, content_title, content_type, country, date, domain, full_url, location_id, model_category, normalized_url, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, source_id, topic_name, website_id | filter-only: is_attributed_content, prompt_tag_ids, response_mentions_entity | alsoSelect: prompt_text←prompt_id, topic_name←prompt_topic_id, content_title←content_id | groupable: website_id, date, domain, normalized_url, full_url, prompt_id, model_category, prompt_topic_id, content_id, content_type | max limit 10000 (default 1000) | order by index: website_id, date, domain citations: citation_id, country, date, domain, entity_id, entity_name, is_website, location_id, model_category, normalized_url, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, source_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, response_mentions_entity | alsoSelect: entity_name←entity_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, domain, normalized_url, source_id, prompt_id, model_category, prompt_topic_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id, domain source_mentions: date, domain, entity_id, entity_name, is_website, normalized_url, source_unique_id, website_id | filter-only: is_competitor | alsoSelect: entity_name←entity_id | groupable: website_id, date, entity_id, is_website, domain, normalized_url, source_unique_id | max limit 10000 (default 1000) | order by index: website_id, domain, date, entity_id topics: created_at, topic_description, topic_id, topic_name, website_id | groupable: website_id, topic_id | max limit 1000 (default 100) | order by index: website_id, topic_id contents: content_id, content_type, created_at, date, effective_date, normalized_url, sheet_id, status, title, topic_id, topic_name, updated_at, url, website_id | alsoSelect: topic_name←topic_id, title←content_id | groupable: website_id, status, topic_id, content_type | max limit 1000 (default 100) | order by index: website_id, effective_date, created_at, content_id |
Rename a content row's title. URL editing is not supported — URL is the content asset's stable identity and cannot be changed here.
| Argument | Type | Description |
|---|---|---|
| title* | string | |
| content_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id",
"title"
],
"properties": {
"title": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Bring an earlier version's text back as the current draft — use it when a later pass came out worse than an earlier one. Nothing is deleted: the restored text is appended as a new version on top of the history, so the passes in between remain readable and restorable.
| Argument | Type | Description |
|---|---|---|
| content_id* | string | |
| version_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id",
"version_id"
],
"properties": {
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Rewrite a content brief from a natural-language instruction (for example: 'add a section on pricing objections', 'cut the competitor comparison'). An AI model performs the rewrite server-side, so the result is generated text, not your literal wording. Records each pass as a version; iterate by calling it again, since each call starts from the current brief. Most useful while a piece waits at status generated_brief, where the brief still shapes what the article will say — call approve_brief once it reads right. It also works after the article exists, to correct the brief for a later regeneration; note that revising the brief does NOT rewrite an already-generated article, so use revise_content for that.
| Argument | Type | Description |
|---|---|---|
| content_id* | string | |
| website_id* | string | |
| instruction* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id",
"instruction"
],
"properties": {
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"instruction": {
"type": "string",
"maxLength": 5000,
"minLength": 1
}
},
"additionalProperties": false
}Rewrite an existing content draft from a natural-language instruction (for example: 'tighten the intro', 'add a section on pricing', 'remove the second half'). An AI model performs the rewrite server-side, so the result is generated text, not your literal wording; when you already have the exact replacement text, use edit_content instead. Applies the change to the whole article and records it as a new version, so earlier passes stay recoverable via get_content_versions / restore_content_version. Iterate by calling it again — each call starts from the current text, so no version id is needed. Use this instead of create_content to change a draft; it edits in place rather than generating a new piece. The returned body is always the complete replacement article, never just the edited passage; compare body_word_count with previous_body_word_count to confirm nothing unexpected was lost.
| Argument | Type | Description |
|---|---|---|
| content_id* | string | |
| website_id* | string | |
| instruction* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id",
"instruction"
],
"properties": {
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"instruction": {
"type": "string",
"maxLength": 5000,
"minLength": 1
}
},
"additionalProperties": false
}Semantic search over a website's approved brand facts in the Knowledge Base. Reaches facts not filed under any pillar. Returns fact text with confidence, source URL and quote, and the published pillar it belongs to (null when unfiled).
| Argument | Type | Description |
|---|---|---|
| query* | string | |
| top_k | string | |
| pillar_id | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"top_k": {
"type": "string",
"pattern": "^\\d+$"
},
"pillar_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Move cited pages to an Outreach pipeline status (New, Todo, In Progress, Done, Rejected), as the Outreach inbox and board do. Each change to an existing contact is recorded in its activity history. Pages without a contact get one at the new status, starting with no activity entries; "New" only resets existing contacts and creates none. "Rejected" removes pages from the active queue; "New" returns them to untriaged. Up to 100 pages per call. Obtain user confirmation before calling.
| Argument | Type | Description |
|---|---|---|
| urls* | array | |
| status* | string | Pipeline status. "New" means untriaged; "Rejected" removes the page from the active queue. |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"urls",
"status"
],
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Cited page URL, e.g. \"example.com/blog/best-tools\". A contact already saved under this exact URL (for example one the Outreach page saved for a query variant its URL rules list separately) is used first. Otherwise protocol, \"www.\" and the query string (tracking parameters) are ignored, as on the Outreach page. The page is always read at the URL given."
}
},
"status": {
"enum": [
"New",
"Todo",
"In Progress",
"Done",
"Rejected"
],
"type": "string",
"description": "Pipeline status. \"New\" means untriaged; \"Rejected\" removes the page from the active queue."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Replace all tag assignments on an existing prompt. For additions or removals, read the prompt's current tags with get_prompts, resolve tag IDs with get_prompt_tags, and pass the full resulting set. Existing assignments omitted from tag_ids are removed; an empty array clears all assignments. Tag definitions and the prompt itself are preserved.
| Argument | Type | Description |
|---|---|---|
| tag_ids* | array | |
| prompt_id* | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"prompt_id",
"tag_ids"
],
"properties": {
"tag_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"prompt_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Pause or unpause multiple prompts in one transaction
| Argument | Type | Description |
|---|---|---|
| status* | string | |
| prompt_ids* | array | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"prompt_ids",
"status"
],
"properties": {
"status": {
"enum": [
"active",
"paused"
],
"type": "string"
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Create a custom source tag with a name, URL patterns and optionally an icon and colour. Read the tag listing first: built-in tags already cover media, social, government, e-commerce, review sites, PR wires, academic and wiki sources, and a host they miss is better added to the built-in tag than given a new one. Obtain user confirmation before calling. MCP executes immediately after authorization; Athena AI chat presents an approval card. Patterns support hosts (example.com), subtrees (*.example.com), path sections (example.com/blog), exact pages (example.com/blog$) and query constraints. Up to 500 patterns. These are source tags, not prompt tags.
| Argument | Type | Description |
|---|---|---|
| icon | string | Optional icon key from the curated set (for example newspaper, capsule, hospital, graduation-cap, building). Omit for a letter badge. |
| name* | string | Custom tag name. Names of built-in tags (Media, Social, Government, …) and of Owned and Competitor are reserved. |
| color | string | Optional colour family: ochre, clay, brick, amber, olive, moss, teal, slate, ink, mauve or plum. Default ink. |
| patterns* | array | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"name",
"patterns"
],
"properties": {
"icon": {
"type": "string",
"maxLength": 64,
"description": "Optional icon key from the curated set (for example newspaper, capsule, hospital, graduation-cap, building). Omit for a letter badge."
},
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Custom tag name. Names of built-in tags (Media, Social, Government, …) and of Owned and Competitor are reserved."
},
"color": {
"type": "string",
"maxLength": 32,
"description": "Optional colour family: ochre, clay, brick, amber, olive, moss, teal, slate, ink, mauve or plum. Default ink."
},
"patterns": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Host (example.com), subtree (*.example.com), path section (example.com/blog), exact page (example.com/blog$) or query constraint (youtube.com/watch?v=abc)."
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Permanently delete a custom source tag and all its pattern assignments; retain source records. Built-in tags and Owned/Competitor cannot be deleted; remove patterns from a built-in tag instead. Read the listing first and pass the tag's revision as expected-revision. Obtain explicit user confirmation identifying the tag and its patterns before calling. MCP executes immediately after authorization; Athena AI chat presents an approval card. If the tag changed, read again. Never retry a declined proposal unless asked. A false analytics-refresh result means the tag was deleted but filtered analytics may still be cached.
| Argument | Type | Description |
|---|---|---|
| tag_id* | string | Custom source tag ID returned by the source-tag listing tool. |
| website_id* | string | |
| expected_revision* | string | Revision returned by the source-tag listing tool for this tag. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"tag_id",
"expected_revision"
],
"properties": {
"tag_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Custom source tag ID returned by the source-tag listing tool."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expected_revision": {
"type": "string",
"maxLength": 64,
"minLength": 64,
"description": "Revision returned by the source-tag listing tool for this tag."
}
},
"additionalProperties": false
}List cited domains by tag coverage, most cited first with citation counts: either the domains one custom source tag matches (tag ID), or, with untagged true, the domains no tag covers at all. Built-in tags (platform) and Owned/Competitor (entity) are refused as tag IDs: their membership is automatic and not listable; add or remove patterns on them instead. Start from untagged when asked which domains still need tags or which new tags to suggest.
| Argument | Type | Description |
|---|---|---|
| days | integer | Look-back window in days, default 90. |
| limit | integer | |
| offset | integer | |
| tag_id | string | Custom tag ID from the listing tool. Built-in tags are refused. Omit and set untagged to list sources no tag covers. |
| untagged | boolean | true lists cited domains that carry no tag at all: not Owned, not Competitor, no built-in tag, no custom tag. Use this to find what still needs tagging; then propose adding hosts to a built-in tag or a new custom tag. |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"days": {
"type": "integer",
"maximum": 365,
"minimum": 1,
"description": "Look-back window in days, default 90."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"tag_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Custom tag ID from the listing tool. Built-in tags are refused. Omit and set untagged to list sources no tag covers."
},
"untagged": {
"type": "boolean",
"description": "true lists cited domains that carry no tag at all: not Owned, not Competitor, no built-in tag, no custom tag. Use this to find what still needs tagging; then propose adding hosts to a built-in tag or a new custom tag."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Read every source tag this website sees: Owned and Competitor (entity), the built-in classes AthenaHQ classifies automatically (platform: Media, Social, Government, E-Commerce, Review sites, PR Wire, Academic and research, Wiki) and the website's custom tags. Built-in tags list only what this website added or removed, never the platform's own patterns; custom tags list their patterns. Read this before proposing, creating, editing or deleting tags, and prefer adding hosts to a built-in tag over creating a near-duplicate. To find sources no tag covers, call source_tags__get_sources with untagged true. Filter by name substring or tag ID; page tags with offset, page one tag's patterns with tag ID and pattern offset.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Tags per page: 1 through 50, default 20. Use offset for the next page. |
| query | string | Optional tag-name substring. Omit to list all names. |
| offset | integer | |
| tag_id | string | Actual UUID returned by this tool. Omit to list all tags; never use a placeholder. |
| website_id* | string | |
| pattern_limit | integer | Patterns per tag: 1 through 500, default 50. |
| pattern_offset |
Edit a source tag. Custom tag: rename, add patterns, remove exact patterns from the listing. Built-in tag (platform): add patterns to this website's copy so they carry the tag here, or remove patterns so they stop carrying it here; a removal is accepted only for a pattern the tag currently applies to (by a platform rule, by automatic classification, or by your own addition), and an addition is accepted only when the pattern does not already carry the tag. Owned and Competitor cannot be edited here; their patterns live in Brand Profile and Competitors. Read the listing first and pass the tag's revision as expected-revision. Obtain explicit user confirmation of the exact changes before calling; MCP executes immediately after authorization; Athena AI chat presents an approval card. If the tag changed, read again. Never retry a declined proposal unless asked. Up to 500 additions and 500 removals. A false analytics-refresh result means the edit saved but filtered analytics may still be cached.
| Argument | Type | Description |
|---|---|---|
| name | string | Custom tag name. Names of built-in tags (Media, Social, Government, …) and of Owned and Competitor are reserved. |
| tag_id* | string | |
| website_id* | string | |
| add_patterns | array | |
| remove_patterns | array | |
| expected_revision |
Start a Discover study to find evidence-grounded, untracked prompt opportunities for a website. Invoke after explicit user intent to start research and review the sources, country, language, requested prompt count and custom instructions with the user. This launches asynchronous external research and model calls; the prompt count is a target, not a guaranteed yield. Sources: website_analysis (website), social (market discussions), search_console (connected Search Console), keyword_gaps (plan-gated keyword opportunities), competitive_landscape (plan-gated category questions and comparisons researched from the website's tracked competitors; requires at least one tracked competitor), brand_guidelines (requires custom instructions). Returns the run ID and version when startup succeeds. Prompts are not automatically added to tracking. Poll the discovery history/progress tool with the returned run ID; do not start another study to check status. Requires prompt-management permission and source entitlements. Candidate results can be reviewed in the application's Discover page.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| country | string | Country name or ISO code; defaults to United States. |
| sources* | array | |
| language | string | Supported locale, for example en-US. Defaults to en-US. |
| website_id* | string | |
| prompt_count_range |
Run tracked prompts against external AI providers to collect new responses for a website. Sends prompt text to the selected providers, stores their responses in AthenaHQ, and consumes response credits. Starts immediately; use only for a user-requested run. Returns a workflow_id; poll get_response_streaming_status over MCP or GET /api/v1/response-streaming/status over the API for progress.
| Argument | Type | Description |
|---|---|---|
| prompt_ids | array | Specific tracked prompt UUIDs to run, from 1 to 1,000. Overrides schedule prompt selectors when supplied. Omit to use schedule_id selectors, or every active prompt when schedule_id is also omitted. Paused prompts are skipped. |
| website_id* | string | |
| schedule_id | string | Schedule UUID to attribute this run to and take prompt selectors from. A nonempty prompt_ids selection overrides those selectors. Omit to attribute the run to Default and run every active prompt unless prompt_ids is supplied. Explicit model, fan-out, persona and location choices apply to this run. |
| use_personas | boolean | |
| use_locations | boolean | |
| only_locations | boolean | |
| selected_models | object | Map of model id to enabled flag, e.g. { "chatgpt": true, "ai_overview": true, "ai_mode": false }. Model ids: chatgpt, ai_overview (Google AI Overviews; google_ai_overview is also accepted), perplexity, gemini, copilot, ai_mode, grok, claude, deepseek, meta_ai, mistral. An id set to true that names no model is rejected. Omit to run all enabled models. |
Register existing pages or third-party URLs as tracked Content Hub items so Athena attributes citations and mentions to them. Creates external content rows from bare URLs with no generation and no credit cost. Tracking starts immediately: the normalized URL becomes the citation/metric join key, so pages cited in the website's monitored AI responses accrue metrics with no publish step (use it for guest posts, partner placements, or any page Athena did not generate). Idempotent per URL: a URL already present on the website (any content type) is not duplicated; the response lists it under skipped with the existing content_id and type. Check that type before chaining destructive calls (a skip can resolve to first-party generated content that shares the URL). Rows are created without page text, which citation tracking does not need; the body can be filled from the app later. Duplicate URLs within one call (including tracking-param variants of the same page) collapse to one row, first occurrence wins. Optional sheet_id files rows under a Content Hub tab; view-type tabs resolve to the main pool (null), echoed per row. Optional per-URL fields set the customer's own Content Hub columns on the created row, addressed by column name as shown on the destination tab (text, number, date, checkbox, link, and multi-select columns; unknown multi-select options are created). An unknown column name or a value that does not fit the column type rejects the whole call and nothing is tracked; skipped URLs keep their existing values. If the user names a destination tab, resolve its id with get_content_hub_sheets before tracking. Omitting sheet_id uses the shared pool, not the user's currently open tab. After the call, report created_count and skipped_count separately, name the returned destination_name, and share content_hub_url so the user can open each item. Skipped rows keep their existing tab: use their returned destination and never describe them as newly added or moved.
| Argument | Type | Description |
|---|---|---|
| urls* | array | |
| sheet_id | any |
Update one brand fact's text, source URL, or confidence in the Knowledge Base. Only provided fields change; pass source_url: "" to clear the source. Changing the text creates a new fact (new id) and archives the current one; the new fact keeps the current review status and the response carries it. Source URL and confidence edits update the fact in place. Duplicates across other facts are not rejected here (Knowledge Base dedup owns those). Does not change review status.
| Argument | Type | Description |
|---|---|---|
| text | string | |
| fact_id* | string | |
| confidence | string | |
| source_url | string | |
| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"fact_id"
],
"properties": {
"text": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"fact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"confidence": {
"enum": [
"high",
"medium",
"low"
],
"type": "string"
},
"source_url": {
"type": "string",
"maxLength": 2048
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Add or remove identifiers on the website's brand, or on one competitor, under the same rules as the Competitors page. Call get_identifiers first. The name and domain cannot be removed. An identifier that is already listed, or that another tracked brand or competitor on this website already uses, is refused, and nothing is saved. New AI responses use the change right away. Past responses are reanalyzed only when someone runs the backfill on the Competitors page, which costs credits; this tool never starts it. changes_awaiting_backfill counts the edits waiting for it, not responses.
| Argument | Type | Description |
|---|---|---|
| add | array | Identifiers to add, exactly as they should match (trimmed). |
| remove | array | Identifiers to remove, exactly as get_identifiers lists them. |
| website_id* | string | |
| competitor_id | string | The competitor to read or edit, from get_competitors. Omit it for the website's own brand. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"add": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500
},
"description": "Identifiers to add, exactly as they should match (trimmed)."
},
"remove": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500
},
"description": "Identifiers to remove, exactly as get_identifiers lists them."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"competitor_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The competitor to read or edit, from get_competitors. Omit it for the website's own brand."
}
},
"additionalProperties": false
}Update a location for a website
| Argument | Type | Description |
|---|---|---|
| country | string | |
| location | string | |
| prompt_ids | array | |
| website_id* | string | |
| location_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"location_id"
],
"properties": {
"country": {
"type": "string",
"minLength": 1
},
"location": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"location_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}Edit a cited page's Outreach contact: author name, email, LinkedIn, or the draft's subject and body. Creates the contact when the page has none. Supply at least one field; only the fields supplied change, and null clears a field. A changed email is labeled as entered manually. Each change is recorded in the contact's activity history. Obtain user confirmation of the new values before calling.
| Argument | Type | Description |
|---|---|---|
| url* | string | Cited page URL, e.g. "example.com/blog/best-tools". A contact already saved under this exact URL (for example one the Outreach page saved for a query variant its URL rules list separately) is used first. Otherwise protocol, "www." and the query string (tracking parameters) are ignored, as on the Outreach page. The page is always read at the URL given. |
| any | Email to pitch. Null clears it; omit to keep it. | |
| message | any | Draft body. Null clears it; omit to keep it. |
| subject | any | Draft subject. Null clears it; omit to keep it. |
| any | Author LinkedIn URL. Null clears it; omit to keep it. | |
| website_id* | string | |
| author_name | any | Author name. Null clears it; omit to keep it. |
Update a Knowledge Base pillar's name, description, or status. At least one of name, description, or status must be provided; only provided fields change, and description: "" clears the stored description. Renaming fails with a conflict when another pillar already uses the name. Status accepts published or archived: archiving hides the pillar from get_pillars and stops its facts feeding content generation, while keeping the facts stored.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| status | string | |
| pillar_id* | string | |
| website_id* | string | |
| description | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"pillar_id"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"status": {
"enum": [
"published",
"archived"
],
"type": "string"
},
"pillar_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": {
"type": "string",
"maxLength": 2000
}
},
"additionalProperties": false
}Update a prompt's metadata (text, type, topic, geography)
| Argument | Type | Description |
|---|---|---|
| type | any | |
| prompt | string | |
| volume | string | null | |
| topic_id | any | |
| countries | array | |
| prompt_id* | string | |
| website_id* | string | |
| location_ids | array | |
| primary_country | string | null |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"prompt_id"
],
"properties": {
"type": {
"anyOf": [
{
"enum": [
"discovery",
"high_intent"
],
"type": "string"
},
{
"type": "null"
}
]
},
"prompt": {
"type": "string",
"maxLength": 2000
},
"volume": {
"type": [
"string",
"null"
]
},
"topic_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"countries": {
"type": "array",
"items": {
"type": "string"
}
},
"prompt_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"location_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"primary_country": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}Update a topic's name or description
| Argument | Type | Description |
|---|---|---|
| name | string | |
| topic_id* | string | |
| website_id* | string | |
| description | any |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"topic_id"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"topic_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}| prompt_ids |
| array |
| Existing tracked prompt UUIDs, up to 100. Required and nonempty for draft; omit for slice. Use IDs from the website's tracked prompt list; never invent them. |
| website_id* | string |
| fact_review | object |
| auto_approve | boolean | Draft mode only. Defaults to true, which continues from brief generation to article generation. Set false to pause at generated_brief until approve_brief is called. |
| brand_kit_id | string |
| pinned_claim_ids | array |
| selected_topic_ids | array |
| content_format_type | string |
| custom_instructions | string |
| use_content_memories | boolean |
| use_kb_internal_links | boolean |
| pdf_file_name_or_r2_key | string |
| scrape_additional_links | boolean |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"mode"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Source page URL. Required for snipe, optimize, and slice modes. A URL without a protocol, such as example.com/article, is accepted."
},
"mode": {
"enum": [
"draft",
"snipe",
"optimize",
"slice"
],
"type": "string",
"description": "draft: generate a brief and optionally an article from tracked prompts. snipe: draft an article using a competitor URL as input. optimize: improve an existing page for AI search. slice: turn one source URL into several articles."
},
"title": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Article title. Required for draft, snipe, and optimize modes."
},
"rec_id": {
"type": "string",
"maxLength": 2048
},
"kb_mode": {
"enum": [
"auto",
"manual",
"none"
],
"type": "string"
},
"rec_kind": {
"enum": [
"on_page_topic",
"on_page_snipe"
],
"type": "string"
},
"sheet_id": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Existing tracked prompt UUIDs, up to 100. Required and nonempty for draft; omit for slice. Use IDs from the website's tracked prompt list; never invent them."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fact_review": {
"type": "object",
"required": [
"topic_ids",
"kept_claim_ids",
"excluded_claim_ids"
],
"properties": {
"topic_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"kept_claim_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"excluded_claim_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
},
"additionalProperties": false
},
"auto_approve": {
"type": "boolean",
"description": "Draft mode only. Defaults to true, which continues from brief generation to article generation. Set false to pause at generated_brief until approve_brief is called."
},
"brand_kit_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"pinned_claim_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"selected_topic_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"content_format_type": {
"type": "string",
"maxLength": 100
},
"custom_instructions": {
"type": "string",
"maxLength": 5000
},
"use_content_memories": {
"type": "boolean"
},
"use_kb_internal_links": {
"type": "boolean"
},
"pdf_file_name_or_r2_key": {
"type": "string",
"maxLength": 2048
},
"scrape_additional_links": {
"type": "boolean"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"name",
"filters"
],
"properties": {
"icon": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"filters": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"olympus_layout": {
"type": "object",
"required": [
"version",
"selectedViews",
"viewOrder",
"cardSettings"
],
"properties": {
"version": {
"type": "number",
"const": 1
},
"viewOrder": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,79}$"
},
"maxItems": 100
},
"cardSettings": {
"type": "object",
"maxProperties": 100,
"propertyNames": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,79}$"
},
"additionalProperties": {
"type": "object",
"properties": {
"size": {
"type": "object",
"required": [
"colSpan",
"rowSpan"
],
"properties": {
"colSpan": {
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
}
]
},
"rowSpan": {
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
]
}
},
"additionalProperties": false
},
"rateMode": {
"enum": [
"relevant",
"absolute"
],
"type": "string"
},
"viewMode": {
"enum": [
"average",
"all",
"annual",
"monthly"
],
"type": "string"
},
"sovByModelMode": {
"enum": [
"brand",
"competitors"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"selectedViews": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,79}$"
},
"maxItems": 100
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}| entity_ids | array | Entity UUIDs to filter to, as an array even for one id: the website_id for the brand itself, competitor ids from get_competitors for competitors. Omit for every entity. |
| website_id* | string |
| attribute_ids | array | Attribute UUIDs to filter to (from get_attributes), as an array even for one id. Omit for every active attribute. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"sort": {
"enum": [
"intensity",
"recent"
],
"type": "string",
"default": "intensity",
"description": "\"intensity\" (default): strongest first, unscored last, then newest. \"recent\": newest first."
},
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
},
"additionalProperties": false
},
"page_num": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-indexed page number. Defaults to 0."
},
"positive": {
"type": "boolean",
"description": "true for favorable observations only, false for critical ones only. Omit for both directions."
},
"page_size": {
"type": "integer",
"default": 40,
"maximum": 100,
"minimum": 1,
"description": "Rows per page, 1 to 100. Defaults to 40."
},
"entity_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxItems": 100,
"description": "Entity UUIDs to filter to, as an array even for one id: the website_id for the brand itself, competitor ids from get_competitors for competitors. Omit for every entity."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"attribute_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxItems": 100,
"description": "Attribute UUIDs to filter to (from get_attributes), as an array even for one id. Omit for every active attribute."
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"content_id"
],
"properties": {
"content_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}| Optional originating website in this organization; this is different from the charged group pool. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"range": {
"enum": [
"24h",
"7d",
"30d",
"90d",
"all"
],
"type": "string"
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0
},
"window": {
"type": "object",
"required": [
"start_at_utc",
"end_at_utc"
],
"properties": {
"end_at_utc": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"start_at_utc": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"description": "Explicit UTC interval within recorded history, ending no later than now. For the current month or today, use the current UTC time as endAtUtc, not the next calendar boundary. Reuse both returned boundaries when paging.",
"additionalProperties": false
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"originating_website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Optional originating website in this organization; this is different from the charged group pool."
}
},
"additionalProperties": false
}| model |
| string |
| Filter to one AI model by product name (ChatGPT, Claude, Gemini, Perplexity, Copilot, Meta AI); raw identifiers also match exactly |
| run_id | string |
| status | string |
| fact_id | string |
| severity | string |
| prompt_id | string |
| lineage_id | string |
| source_url | string |
| website_id* | string |
| response_id | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"kind": {
"enum": [
"false",
"outdated",
"overclaim",
"underclaim",
"misattributed"
],
"type": "string"
},
"type": {
"enum": [
"inaccuracy",
"kb_issue",
"kb_duplicate",
"kb_contradiction",
"model_disagreement"
],
"type": "string"
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1
},
"model": {
"type": "string",
"description": "Filter to one AI model by product name (ChatGPT, Claude, Gemini, Perplexity, Copilot, Meta AI); raw identifiers also match exactly"
},
"run_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"status": {
"type": "string"
},
"fact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"severity": {
"enum": [
"critical",
"major",
"minor"
],
"type": "string"
},
"prompt_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"lineage_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_url": {
"type": "string"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"response_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"search_query_text": {
"type": "string",
"description": "Case-insensitive text to match within the web or map search queries used for a response."
},
"has_search_queries": {
"type": "boolean",
"description": "Filter by whether the model used at least one non-empty web or map search query."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
},
"search_query_text_operator": {
"enum": [
"contains",
"does_not_contain"
],
"type": "string",
"description": "How search_query_text matches: \"contains\" (default) or \"does_not_contain\"."
}
}
},
"page_num": {
"type": "number",
"minimum": 0
},
"page_size": {
"type": "number",
"maximum": 100,
"minimum": 1
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"compact_sources": {
"type": "boolean",
"description": "Replace the per-source `sources` objects with `source_domains`, a deduped, sorted list of cited root domains. Defaults to false. Use when you need which domains were cited but not their exact URLs."
},
"include_response": {
"type": "boolean",
"description": "Include the full answer text on each row. Defaults to true. Set false to omit the `response` field entirely (the heaviest part of a row) when you only need which prompt/variation ran and how it scored."
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"search": {
"type": [
"string",
"null"
]
},
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"page_num": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"mentioned": {
"enum": [
"yes",
"no"
],
"type": "string"
},
"page_size": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1
},
"sort_field": {
"enum": [
"citation_percentage",
"estimated_impressions",
"total_mentions",
"mentions_count",
"normalized_url",
"competitor_ids",
"first_seen"
],
"type": "string",
"default": "citation_percentage"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc"
},
"competitors_mentioned": {
"enum": [
"yes",
"no"
],
"type": "string"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"search": {
"type": [
"string",
"null"
]
},
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"page_num": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"mentioned": {
"enum": [
"yes",
"no"
],
"type": "string"
},
"page_size": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1
},
"sort_field": {
"enum": [
"citation_percentage",
"mention_percentage",
"competitor_mention_percentage",
"brand_mention_percentage",
"estimated_impressions",
"total_mentions",
"domain_count",
"mentions_count",
"root_domain",
"response_count",
"first_seen"
],
"type": "string",
"default": "citation_percentage"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc"
},
"competitors_mentioned": {
"enum": [
"yes",
"no"
],
"type": "string"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"filters"
],
"properties": {
"filters": {
"type": "object",
"required": [
"start_date"
],
"properties": {
"models": {
"type": "array",
"items": {
"enum": [
"chatgpt",
"perplexity",
"gemini",
"google_ai_overview",
"copilot",
"claude",
"ai_mode",
"grok",
"deepseek",
"meta_ai",
"mistral"
],
"type": "string"
},
"description": "AI models to include, as an array even for one model — e.g. [\"chatgpt\", \"perplexity\"]. Omit to include all models."
},
"end_date": {
"type": "string",
"description": "End of the date range, inclusive. Date-only values include the UTC day through 23:59:59.999; timestamps keep their exact instant. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Prompt UUIDs to filter to, as an array even for one id. Omit for all prompts."
},
"start_date": {
"type": "string",
"description": "Start of the date range. Required. Accepts YYYY-MM-DD, ISO 8601 timestamps (timezone omitted means UTC), English month names with a four-digit year, and unambiguous numeric dates separated by /, -, or .; ambiguous dates are rejected."
},
"persona_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Persona UUIDs to filter to, as an array even for one id. Omit for all personas."
},
"prompt_tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Prompt tag IDs to filter prompts by, as an array (list tags with get_prompt_tags). Omit for all tags."
},
"prompt_type": {
"enum": [
"branded",
"non_branded"
],
"type": "string",
"description": "Filter prompts by type: \"branded\" (mentions the brand) or \"non_branded\". Omit for both."
},
"schedule_id": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"description": "One schedule: \"default\" or a custom/archived schedule UUID. Omit for Default, which includes all pre-cutover history and ad hoc runs. The retired \"manual\" token is accepted as an alias of \"default\". Schedules cannot be combined."
},
"location_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "string",
"const": "no-location"
}
]
},
"description": "Location UUIDs to filter to, as an array even for one id. The literal string \"no-location\" selects responses that ran without a location. Omit for all locations."
},
"prompt_status": {
"enum": [
"active",
"paused"
],
"type": "string",
"description": "Filter prompts by tracking status: \"active\" or \"paused\". Omit for both."
},
"competitor_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Competitor UUIDs to filter to, as an array even for one id. Omit for all competitors."
},
"variation_filter": {
"type": "array",
"items": {
"enum": [
"variation",
"prompt"
],
"type": "string"
},
"description": "Which prompt rows to include, as an array: \"prompt\" for base prompts, \"variation\" for generated variations, or both. Omit for both."
},
"target_identifiers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "no-identifier"
}
]
},
"description": "Target identifier strings to filter to, as an array even for one value. The literal string \"no-identifier\" selects responses with no target identifier. Omit for all."
},
"prompt_tags_operator": {
"enum": [
"is_any_of",
"has_all_of"
],
"type": "string",
"description": "How prompt_tags combine: \"is_any_of\" matches prompts with any listed tag, \"has_all_of\" only prompts carrying every listed tag."
}
}
},
"page_num": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"sheet_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Content Hub tab to list (get_content_hub_sheets). A sheet-type tab lists its own content; a view-type tab, the default tab included, lists the shared main pool (content not filed in any sheet), without the view's saved filters. Omit to list content on every tab."
},
"mentioned": {
"type": "boolean"
},
"page_size": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"content_type": {
"enum": [
"external",
"imported",
"athena_created",
"draft",
"snipe",
"optimize",
"slice",
"manual"
],
"type": "string"
}
}
}| integer |
| sheet_id | string |
| page_size | integer |
| prompt_id | string |
| website_id* | string |
| content_type | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"stage": {
"enum": [
"scheduled",
"pending",
"pending_brief",
"generated_brief",
"pending_article",
"generated",
"done",
"failed"
],
"type": "string"
},
"page_num": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"sheet_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"page_size": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1
},
"prompt_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"content_type": {
"enum": [
"external",
"imported",
"athena_created",
"draft",
"snipe",
"optimize",
"slice",
"manual"
],
"type": "string"
}
}
}| string |
| Dataset to query. Cubes and their contracts: Each cube lists its selectable fields, then: filter-only (usable only in where), alsoSelect (name←id: group by the id, pass the name in alsoSelect), groupable (the only fields accepted in by), max limit (the most rows one call returns), and order by index (dims in orderBy that are not in by must follow this order, skipping allowed). websites: created_at, default_language, industry, normalized_url, org_id, website_id, website_name, website_url | groupable: website_id, org_id, industry, default_language | max limit 1000 (default 100) | order by index: website_id competitors: created_at, entity_id, entity_name, website_id | alsoSelect: entity_name←entity_id | groupable: website_id, entity_id | max limit 1000 (default 100) | order by index: website_id, entity_id prompts: created_at, is_paused, language, monthly_searches, prompt_id, prompt_text, prompt_type, topic_id, topic_name, total_value, website_id | filter-only: prompt_tag_ids | alsoSelect: topic_name←topic_id | groupable: website_id, topic_id, prompt_type, is_paused | max limit 1000 (default 100) | order by index: website_id, monthly_searches, total_value, prompt_id responses: cited, company_count, country, date, location_id, model_category, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, prompt_variation, response_id, sentiment, sentiment_score, target_identifiers, target_rank, topic_name, website_id, content | filter-only: is_base_prompt, prompt_tag_ids, response_mentions_entity | alsoSelect: prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, prompt_id, model_category, sentiment, prompt_type, prompt_topic_id, persona_id, location_id | max limit 100 (default 100) | order by index: website_id, date, prompt_id, response_id response_mentions: country, date, entity_id, entity_name, identifier, is_website, location_id, mention_id, model_category, persona_id, position, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, rank, rank_percentile, response_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, ranked_count, response_mentions_entity | alsoSelect: entity_name←entity_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, is_website, prompt_id, model_category, prompt_topic_id, persona_id, location_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id attributes: attribute_id, attribute_mention_id, attribute_name, country, date, entity_id, entity_name, is_website, location_id, model_category, persona_id, positive, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, response_mentions_entity | alsoSelect: entity_name←entity_id, attribute_name←attribute_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, attribute_id, positive, is_website, prompt_topic_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id, attribute_id sources: content_id, content_title, content_type, country, date, domain, full_url, location_id, model_category, normalized_url, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, source_id, topic_name, website_id | filter-only: is_attributed_content, prompt_tag_ids, response_mentions_entity | alsoSelect: prompt_text←prompt_id, topic_name←prompt_topic_id, content_title←content_id | groupable: website_id, date, domain, normalized_url, full_url, prompt_id, model_category, prompt_topic_id, content_id, content_type | max limit 10000 (default 1000) | order by index: website_id, date, domain citations: citation_id, country, date, domain, entity_id, entity_name, is_website, location_id, model_category, normalized_url, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, source_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, response_mentions_entity | alsoSelect: entity_name←entity_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, domain, normalized_url, source_id, prompt_id, model_category, prompt_topic_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id, domain source_mentions: date, domain, entity_id, entity_name, is_website, normalized_url, source_unique_id, website_id | filter-only: is_competitor | alsoSelect: entity_name←entity_id | groupable: website_id, date, entity_id, is_website, domain, normalized_url, source_unique_id | max limit 10000 (default 1000) | order by index: website_id, domain, date, entity_id topics: created_at, topic_description, topic_id, topic_name, website_id | groupable: website_id, topic_id | max limit 1000 (default 100) | order by index: website_id, topic_id contents: content_id, content_type, created_at, date, effective_date, normalized_url, sheet_id, status, title, topic_id, topic_name, updated_at, url, website_id | alsoSelect: topic_name←topic_id, title←content_id | groupable: website_id, status, topic_id, content_type | max limit 1000 (default 100) | order by index: website_id, effective_date, created_at, content_id |
| limit | integer | Max rows to return. |
| where | any | WHERE filter (before grouping). |
| having | any | HAVING filter (after grouping). References measure aliases and by dims. |
| compare | object | Compare the same measures across two slices. Each base measure `m` expands to `m_<baseline.label>` and `m_<current.label>`; the result also gets `m_delta` (= current − baseline) and `m_pct_change` (= (current − baseline) / baseline, null when baseline = 0). Default labels are 'baseline' and 'current'; override per side for non-temporal compares (e.g. brand vs competitors). One scan; orderBy on `m_delta` works push-down. |
| orderBy | array | ORDER BY. Measure aliases and by dims allowed. |
| measures* | object | Aggregate expressions keyed by output column name. Example: { total: { fn: 'count_distinct', of: 'response_id' } } |
| schedule | any | One schedule from the catalog ("default" or a custom/archived UUID), or an array of them to combine their data. Omit to use the caller default. The retired "manual" token is accepted as a deprecated alias of "default". Website-level cubes are unaffected. |
| alsoSelect | array | Label dimensions carried via any(). Must be determined by a by dim (cube's dependentDims). Example: entity_name when entity_id is in by. |
| website_id* | string | The website to query. Must be a website your credentials can access. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"measures",
"website_id"
],
"properties": {
"by": {
"type": "array",
"items": {
"type": "string"
},
"description": "GROUP BY dimensions. Omit for scalar result."
},
"from": {
"enum": [
"attributes",
"citations",
"competitors",
"contents",
"prompts",
"response_mentions",
"responses",
"source_mentions",
"sources",
"topics",
"websites"
],
"type": "string",
"description": "Dataset to query. Cubes and their contracts:\nEach cube lists its selectable fields, then: filter-only (usable only in where), alsoSelect (name←id: group by the id, pass the name in alsoSelect), groupable (the only fields accepted in by), max limit (the most rows one call returns), and order by index (dims in orderBy that are not in by must follow this order, skipping allowed).\nwebsites:\n created_at, default_language, industry, normalized_url, org_id, website_id, website_name, website_url | groupable: website_id, org_id, industry, default_language | max limit 1000 (default 100) | order by index: website_id\ncompetitors:\n created_at, entity_id, entity_name, website_id | alsoSelect: entity_name←entity_id | groupable: website_id, entity_id | max limit 1000 (default 100) | order by index: website_id, entity_id\nprompts:\n created_at, is_paused, language, monthly_searches, prompt_id, prompt_text, prompt_type, topic_id, topic_name, total_value, website_id | filter-only: prompt_tag_ids | alsoSelect: topic_name←topic_id | groupable: website_id, topic_id, prompt_type, is_paused | max limit 1000 (default 100) | order by index: website_id, monthly_searches, total_value, prompt_id\nresponses:\n cited, company_count, country, date, location_id, model_category, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, prompt_variation, response_id, sentiment, sentiment_score, target_identifiers, target_rank, topic_name, website_id, content | filter-only: is_base_prompt, prompt_tag_ids, response_mentions_entity | alsoSelect: prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, prompt_id, model_category, sentiment, prompt_type, prompt_topic_id, persona_id, location_id | max limit 100 (default 100) | order by index: website_id, date, prompt_id, response_id\nresponse_mentions:\n country, date, entity_id, entity_name, identifier, is_website, location_id, mention_id, model_category, persona_id, position, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, rank, rank_percentile, response_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, ranked_count, response_mentions_entity | alsoSelect: entity_name←entity_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, is_website, prompt_id, model_category, prompt_topic_id, persona_id, location_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id\nattributes:\n attribute_id, attribute_mention_id, attribute_name, country, date, entity_id, entity_name, is_website, location_id, model_category, persona_id, positive, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, response_mentions_entity | alsoSelect: entity_name←entity_id, attribute_name←attribute_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, attribute_id, positive, is_website, prompt_topic_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id, attribute_id\nsources:\n content_id, content_title, content_type, country, date, domain, full_url, location_id, model_category, normalized_url, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, source_id, topic_name, website_id | filter-only: is_attributed_content, prompt_tag_ids, response_mentions_entity | alsoSelect: prompt_text←prompt_id, topic_name←prompt_topic_id, content_title←content_id | groupable: website_id, date, domain, normalized_url, full_url, prompt_id, model_category, prompt_topic_id, content_id, content_type | max limit 10000 (default 1000) | order by index: website_id, date, domain\ncitations:\n citation_id, country, date, domain, entity_id, entity_name, is_website, location_id, model_category, normalized_url, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, source_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, response_mentions_entity | alsoSelect: entity_name←entity_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, domain, normalized_url, source_id, prompt_id, model_category, prompt_topic_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id, domain\nsource_mentions:\n date, domain, entity_id, entity_name, is_website, normalized_url, source_unique_id, website_id | filter-only: is_competitor | alsoSelect: entity_name←entity_id | groupable: website_id, date, entity_id, is_website, domain, normalized_url, source_unique_id | max limit 10000 (default 1000) | order by index: website_id, domain, date, entity_id\ntopics:\n created_at, topic_description, topic_id, topic_name, website_id | groupable: website_id, topic_id | max limit 1000 (default 100) | order by index: website_id, topic_id\ncontents:\n content_id, content_type, created_at, date, effective_date, normalized_url, sheet_id, status, title, topic_id, topic_name, updated_at, url, website_id | alsoSelect: topic_name←topic_id, title←content_id | groupable: website_id, status, topic_id, content_type | max limit 1000 (default 100) | order by index: website_id, effective_date, created_at, content_id"
},
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Max rows to return."
},
"where": {
"allOf": [
{
"$ref": "#/definitions/Filter"
}
],
"description": "WHERE filter (before grouping)."
},
"having": {
"allOf": [
{
"$ref": "#/definitions/Filter"
}
],
"description": "HAVING filter (after grouping). References measure aliases and by dims."
},
"compare": {
"type": "object",
"required": [
"baseline",
"current"
],
"properties": {
"current": {
"$ref": "#/definitions/CompareSlice"
},
"baseline": {
"$ref": "#/definitions/CompareSlice"
}
},
"description": "Compare the same measures across two slices. Each base measure `m` expands to `m_<baseline.label>` and `m_<current.label>`; the result also gets `m_delta` (= current − baseline) and `m_pct_change` (= (current − baseline) / baseline, null when baseline = 0). Default labels are 'baseline' and 'current'; override per side for non-temporal compares (e.g. brand vs competitors). One scan; orderBy on `m_delta` works push-down."
},
"orderBy": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"description": "Dim or measure name, ascending."
},
{
"type": "object",
"required": [
"dim"
],
"properties": {
"dim": {
"type": "string"
},
"desc": {
"type": "boolean"
}
}
},
{
"type": "object",
"required": [
"measure"
],
"properties": {
"desc": {
"type": "boolean"
},
"measure": {
"type": "string"
}
}
}
]
},
"description": "ORDER BY. Measure aliases and by dims allowed."
},
"measures": {
"type": "object",
"description": "Aggregate expressions keyed by output column name. Example: { total: { fn: 'count_distinct', of: 'response_id' } }",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "object",
"required": [
"fn"
],
"properties": {
"fn": {
"enum": [
"count",
"count_distinct",
"avg",
"sum",
"min",
"max"
],
"type": "string",
"description": "Aggregate function."
},
"of": {
"type": "string",
"description": "Dimension to aggregate. Required for all functions except count. Bare `count` (no `of`) counts distinct facts (responses, mentions, citations...) on fact cubes. It throws on pre-aggregated tables (MVs) where rows are groups, not facts — use `{ fn: 'count_distinct', of: '<id-dim>' }` instead (e.g. `of: 'response_id'` on mentions/citations) to hit the MV's pre-computed aggregate."
},
"where": {
"allOf": [
{
"$ref": "#/definitions/Filter"
}
],
"description": "Per-measure conditional filter (compiles to countIf, avgIf, etc.)."
}
},
"description": "Aggregate expression."
},
{
"type": "object",
"required": [
"expr"
],
"properties": {
"expr": {
"$ref": "#/definitions/Expr"
}
},
"description": "Derived measure — an s-expression computed over other measures. Refs resolve to other measure aliases in the same query. Example: { expr: [\"/\", \"brand\", [\"nullIf\", \"total\", 0]] }"
}
]
}
},
"schedule": {
"anyOf": [
{
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
]
},
"maxItems": 50,
"minItems": 1
}
],
"description": "One schedule from the catalog (\"default\" or a custom/archived UUID), or an array of them to combine their data. Omit to use the caller default. The retired \"manual\" token is accepted as a deprecated alias of \"default\". Website-level cubes are unaffected."
},
"alsoSelect": {
"type": "array",
"items": {
"type": "string"
},
"description": "Label dimensions carried via any(). Must be determined by a by dim (cube's dependentDims). Example: entity_name when entity_id is in by."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The website to query. Must be a website your credentials can access."
}
},
"definitions": {
"Expr": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/Expr"
},
"minItems": 1
}
],
"description": "S-expression. Strings are refs (to a measure alias or by-dim). Numbers/booleans/null are literals. Arrays are [op, ...args] where op is a binary operator (+ - * / % = != < <= > >= AND OR) or one of the allowed scalar functions: nullIf, coalesce, ifNull, if, multiIf, abs, round, floor, ceil, sqrt, pow, least, greatest, log, exp, sign. Examples: [\"-\", \"n_current\", \"n_baseline\"], [\"/\", \"num\", [\"nullIf\", \"denom\", 0]], [\"coalesce\", \"value\", 0]."
},
"Filter": {
"type": "object",
"properties": {
"OR": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
},
"minItems": 1
},
"AND": {
"anyOf": [
{
"$ref": "#/definitions/Filter"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
},
"minItems": 1
}
]
},
"NOT": {
"allOf": [
{
"$ref": "#/definitions/Filter"
}
]
}
},
"description": "Prisma-style filter. A bare scalar value on a dim is shorthand for `eq` (e.g. `{ is_website: true }`); bare arrays and op-less objects throw — use `{ in: [...] }` / `{ hasSome: [...] }` explicitly. Operators: eq, neq, in, notIn, gt, gte, lt, lte, isNull, like, ilike, startsWith, hasSome, hasEvery, hasNone. Combinators: AND, OR, NOT. On semi-join dims (e.g. `response_mentions_entity`, `prompt_tag_ids`), `hasSome`/`in` emit `IN (SELECT …)` and `hasNone`/`notIn` emit `NOT IN (SELECT …)`; combine both on one dim to express \"includes any of A but none of B\". Empty `AND: []` / `OR: []` throw (the math identities are asymmetric — drop the clause before passing). Empty list operators (`hasSome: []` / `hasNone: []` / `hasEvery: []`) also throw — drop the predicate or supply at least one value. NOT accepts a single Filter only — for arrays use `NOT: { AND: [...] }` (`not all`) or `NOT: { OR: [...] }` (`none`). NOT keeps rows whose value is NULL: `NOT { sentiment: { eq: \"positive\" } }` returns unanalyzed responses as well as negative and neutral ones, because \"not positive\" is true of a row with no sentiment. Exclude them explicitly with `AND: [{ NOT: {...} }, { sentiment: { isNull: false } }]`.",
"additionalProperties": {}
},
"CompareSlice": {
"type": "object",
"required": [
"where"
],
"properties": {
"label": {
"type": "string"
},
"where": {
"$ref": "#/definitions/Filter"
}
},
"description": "One side of a compare. `where` is the filter that scopes this slice (non-empty — empty means 'all rows', which trivializes the comparison). `label` defaults to 'baseline' / 'current' and forms the suffix on expanded column names; override for non-temporal compares."
}
},
"additionalProperties": false
}| after | object | Last row from previous page for keyset pagination. Must include values for all orderBy dims. |
| limit | integer | Max rows to return. |
| where | any | WHERE filter. |
| fields* | array | Columns to SELECT. |
| orderBy | array | ORDER BY. If omitted, uses cube default order. |
| schedule | any | One schedule from the catalog ("default" or a custom/archived UUID), or an array of them to combine their data. Omit to use the caller default. The retired "manual" token is accepted as a deprecated alias of "default". Website-level cubes are unaffected. |
| website_id* | string | The website to query. Must be a website your credentials can access. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"fields",
"website_id"
],
"properties": {
"from": {
"enum": [
"attributes",
"citations",
"competitors",
"contents",
"prompts",
"response_mentions",
"responses",
"source_mentions",
"sources",
"topics",
"websites"
],
"type": "string",
"description": "Dataset to query. Cubes and their contracts:\nEach cube lists its selectable fields, then: filter-only (usable only in where), alsoSelect (name←id: group by the id, pass the name in alsoSelect), groupable (the only fields accepted in by), max limit (the most rows one call returns), and order by index (dims in orderBy that are not in by must follow this order, skipping allowed).\nwebsites:\n created_at, default_language, industry, normalized_url, org_id, website_id, website_name, website_url | groupable: website_id, org_id, industry, default_language | max limit 1000 (default 100) | order by index: website_id\ncompetitors:\n created_at, entity_id, entity_name, website_id | alsoSelect: entity_name←entity_id | groupable: website_id, entity_id | max limit 1000 (default 100) | order by index: website_id, entity_id\nprompts:\n created_at, is_paused, language, monthly_searches, prompt_id, prompt_text, prompt_type, topic_id, topic_name, total_value, website_id | filter-only: prompt_tag_ids | alsoSelect: topic_name←topic_id | groupable: website_id, topic_id, prompt_type, is_paused | max limit 1000 (default 100) | order by index: website_id, monthly_searches, total_value, prompt_id\nresponses:\n cited, company_count, country, date, location_id, model_category, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, prompt_variation, response_id, sentiment, sentiment_score, target_identifiers, target_rank, topic_name, website_id, content | filter-only: is_base_prompt, prompt_tag_ids, response_mentions_entity | alsoSelect: prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, prompt_id, model_category, sentiment, prompt_type, prompt_topic_id, persona_id, location_id | max limit 100 (default 100) | order by index: website_id, date, prompt_id, response_id\nresponse_mentions:\n country, date, entity_id, entity_name, identifier, is_website, location_id, mention_id, model_category, persona_id, position, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, rank, rank_percentile, response_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, ranked_count, response_mentions_entity | alsoSelect: entity_name←entity_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, is_website, prompt_id, model_category, prompt_topic_id, persona_id, location_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id\nattributes:\n attribute_id, attribute_mention_id, attribute_name, country, date, entity_id, entity_name, is_website, location_id, model_category, persona_id, positive, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, response_mentions_entity | alsoSelect: entity_name←entity_id, attribute_name←attribute_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, attribute_id, positive, is_website, prompt_topic_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id, attribute_id\nsources:\n content_id, content_title, content_type, country, date, domain, full_url, location_id, model_category, normalized_url, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, source_id, topic_name, website_id | filter-only: is_attributed_content, prompt_tag_ids, response_mentions_entity | alsoSelect: prompt_text←prompt_id, topic_name←prompt_topic_id, content_title←content_id | groupable: website_id, date, domain, normalized_url, full_url, prompt_id, model_category, prompt_topic_id, content_id, content_type | max limit 10000 (default 1000) | order by index: website_id, date, domain\ncitations:\n citation_id, country, date, domain, entity_id, entity_name, is_website, location_id, model_category, normalized_url, persona_id, prompt_id, prompt_is_deleted, prompt_language, prompt_status, prompt_text, prompt_topic_id, prompt_type, response_id, source_id, topic_name, website_id | filter-only: is_competitor, prompt_tag_ids, response_mentions_entity | alsoSelect: entity_name←entity_id, prompt_text←prompt_id, topic_name←prompt_topic_id | groupable: website_id, date, entity_id, domain, normalized_url, source_id, prompt_id, model_category, prompt_topic_id | max limit 10000 (default 1000) | order by index: website_id, date, entity_id, domain\nsource_mentions:\n date, domain, entity_id, entity_name, is_website, normalized_url, source_unique_id, website_id | filter-only: is_competitor | alsoSelect: entity_name←entity_id | groupable: website_id, date, entity_id, is_website, domain, normalized_url, source_unique_id | max limit 10000 (default 1000) | order by index: website_id, domain, date, entity_id\ntopics:\n created_at, topic_description, topic_id, topic_name, website_id | groupable: website_id, topic_id | max limit 1000 (default 100) | order by index: website_id, topic_id\ncontents:\n content_id, content_type, created_at, date, effective_date, normalized_url, sheet_id, status, title, topic_id, topic_name, updated_at, url, website_id | alsoSelect: topic_name←topic_id, title←content_id | groupable: website_id, status, topic_id, content_type | max limit 1000 (default 100) | order by index: website_id, effective_date, created_at, content_id"
},
"after": {
"type": "object",
"description": "Last row from previous page for keyset pagination. Must include values for all orderBy dims.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Max rows to return."
},
"where": {
"allOf": [
{
"$ref": "#/definitions/Filter"
}
],
"description": "WHERE filter."
},
"fields": {
"type": "array",
"items": {
"type": "string"
},
"description": "Columns to SELECT."
},
"orderBy": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"description": "Dim or measure name, ascending."
},
{
"type": "object",
"required": [
"dim"
],
"properties": {
"dim": {
"type": "string"
},
"desc": {
"type": "boolean"
}
}
},
{
"type": "object",
"required": [
"measure"
],
"properties": {
"desc": {
"type": "boolean"
},
"measure": {
"type": "string"
}
}
}
]
},
"description": "ORDER BY. If omitted, uses cube default order."
},
"schedule": {
"anyOf": [
{
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"enum": [
"default",
"manual"
],
"type": "string"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
]
},
"maxItems": 50,
"minItems": 1
}
],
"description": "One schedule from the catalog (\"default\" or a custom/archived UUID), or an array of them to combine their data. Omit to use the caller default. The retired \"manual\" token is accepted as a deprecated alias of \"default\". Website-level cubes are unaffected."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The website to query. Must be a website your credentials can access."
}
},
"definitions": {
"Filter": {
"type": "object",
"properties": {
"OR": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
},
"minItems": 1
},
"AND": {
"anyOf": [
{
"$ref": "#/definitions/Filter"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
},
"minItems": 1
}
]
},
"NOT": {
"allOf": [
{
"$ref": "#/definitions/Filter"
}
]
}
},
"description": "Prisma-style filter. A bare scalar value on a dim is shorthand for `eq` (e.g. `{ is_website: true }`); bare arrays and op-less objects throw — use `{ in: [...] }` / `{ hasSome: [...] }` explicitly. Operators: eq, neq, in, notIn, gt, gte, lt, lte, isNull, like, ilike, startsWith, hasSome, hasEvery, hasNone. Combinators: AND, OR, NOT. On semi-join dims (e.g. `response_mentions_entity`, `prompt_tag_ids`), `hasSome`/`in` emit `IN (SELECT …)` and `hasNone`/`notIn` emit `NOT IN (SELECT …)`; combine both on one dim to express \"includes any of A but none of B\". Empty `AND: []` / `OR: []` throw (the math identities are asymmetric — drop the clause before passing). Empty list operators (`hasSome: []` / `hasNone: []` / `hasEvery: []`) also throw — drop the predicate or supply at least one value. NOT accepts a single Filter only — for arrays use `NOT: { AND: [...] }` (`not all`) or `NOT: { OR: [...] }` (`none`). NOT keeps rows whose value is NULL: `NOT { sentiment: { eq: \"positive\" } }` returns unanalyzed responses as well as negative and neutral ones, because \"not positive\" is true of a row with no sentiment. Exclude them explicitly with `AND: [{ NOT: {...} }, { sentiment: { isNull: false } }]`.",
"additionalProperties": {}
}
},
"additionalProperties": false
}| integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Tags per page: 1 through 50, default 20. Use offset for the next page."
},
"query": {
"type": "string",
"maxLength": 255,
"description": "Optional tag-name substring. Omit to list all names."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"tag_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Actual UUID returned by this tool. Omit to list all tags; never use a placeholder."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"pattern_limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Patterns per tag: 1 through 500, default 50."
},
"pattern_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}| string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"tag_id",
"expected_revision"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Custom tag name. Names of built-in tags (Media, Social, Government, …) and of Owned and Competitor are reserved."
},
"tag_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"add_patterns": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Host (example.com), subtree (*.example.com), path section (example.com/blog), exact page (example.com/blog$) or query constraint (youtube.com/watch?v=abc)."
}
},
"remove_patterns": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048,
"minLength": 1
}
},
"expected_revision": {
"type": "string",
"maxLength": 64,
"minLength": 64
}
},
"additionalProperties": false
}| object |
| Supported min/max targets: 25/50 (default), 50/75, 75/100, 100/150, or 150/200. |
| custom_instructions | string | Required when brand_guidelines (Custom instructions) is selected. Focus discovery on the customer's requested topics. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"name",
"sources"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"country": {
"type": "string",
"description": "Country name or ISO code; defaults to United States."
},
"sources": {
"type": "array",
"items": {
"enum": [
"website_analysis",
"search_console",
"social",
"brand_guidelines",
"keyword_gaps",
"competitive_landscape"
],
"type": "string"
}
},
"language": {
"type": "string",
"description": "Supported locale, for example en-US. Defaults to en-US."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"prompt_count_range": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"min": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"description": "Supported min/max targets: 25/50 (default), 50/75, 75/100, 100/150, or 150/200.",
"additionalProperties": false
},
"custom_instructions": {
"type": "string",
"maxLength": 10000,
"description": "Required when brand_guidelines (Custom instructions) is selected. Focus discovery on the customer's requested topics."
}
},
"additionalProperties": false
}| prompt_variations | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id"
],
"properties": {
"prompt_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"description": "Specific tracked prompt UUIDs to run, from 1 to 1,000. Overrides schedule prompt selectors when supplied. Omit to use schedule_id selectors, or every active prompt when schedule_id is also omitted. Paused prompts are skipped."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schedule_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Schedule UUID to attribute this run to and take prompt selectors from. A nonempty prompt_ids selection overrides those selectors. Omit to attribute the run to Default and run every active prompt unless prompt_ids is supplied. Explicit model, fan-out, persona and location choices apply to this run."
},
"use_personas": {
"type": "boolean"
},
"use_locations": {
"type": "boolean"
},
"only_locations": {
"type": "boolean"
},
"selected_models": {
"type": "object",
"description": "Map of model id to enabled flag, e.g. { \"chatgpt\": true, \"ai_overview\": true, \"ai_mode\": false }. Model ids: chatgpt, ai_overview (Google AI Overviews; google_ai_overview is also accepted), perplexity, gemini, copilot, ai_mode, grok, claude, deepseek, meta_ai, mistral. An id set to true that names no model is rejected. Omit to run all enabled models.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
}
},
"prompt_variations": {
"type": "integer",
"maximum": 10,
"minimum": 0
}
},
"additionalProperties": false
}| website_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"urls"
],
"properties": {
"urls": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"title": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"column",
"value"
],
"properties": {
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 200
}
}
]
},
"column": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"sheet_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"website_id",
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Cited page URL, e.g. \"example.com/blog/best-tools\". A contact already saved under this exact URL (for example one the Outreach page saved for a query variant its URL rules list separately) is used first. Otherwise protocol, \"www.\" and the query string (tracking parameters) are ignored, as on the Outreach page. The page is always read at the URL given."
},
"email": {
"anyOf": [
{
"type": "string",
"maxLength": 320
},
{
"type": "null"
}
],
"description": "Email to pitch. Null clears it; omit to keep it."
},
"message": {
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "null"
}
],
"description": "Draft body. Null clears it; omit to keep it."
},
"subject": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
],
"description": "Draft subject. Null clears it; omit to keep it."
},
"linkedin": {
"anyOf": [
{
"type": "string",
"maxLength": 2048
},
{
"type": "null"
}
],
"description": "Author LinkedIn URL. Null clears it; omit to keep it."
},
"website_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"author_name": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"description": "Author name. Null clears it; omit to keep it."
}
},
"additionalProperties": false
}