> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get AI Citations Report

> Report how AI assistants cite a site, from Microsoft Clarity AI Visibility: citation counts, share of authority against other domains, the AI queries, topics and pages cited, AI-referred traffic an...

Report how AI assistants cite a site, from Microsoft Clarity AI Visibility: citation counts, share of authority against other domains, the AI queries, topics and pages cited, AI-referred traffic and daily trends. Needs a verified AI Visibility domain in the Clarity project.

| | |
| - | - |
| **App** | Microsoft Clarity |
| **Operation ID** | `microsoft_clarity_get_ai_citations_report` |
| **Type** | Action |
| **Connection** | `microsoft_clarity` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `report_type` | enum (`overview`, `queries`, `topics`, `pages`, `citations_trend`, `share_of_authority_trend`, `query_trend`, `page_trend`) | No | `overview` | Which report to return. overview: citation count, share of authority (own vs other domains), branded split and AI-referred traffic. queries: AI queries that cite the domain, by citation count. topics: query topics. pages: most cited pages. citations\_trend and share\_of\_authority\_trend: the project's daily values. query\_trend and page\_trend: daily citations for the queries or pages named in trend\_values. |
| `date_range` | DateRange | No | - | Citation dates to include, as UTC days, both ends inclusive. Use preset='FIXED' with start/end dates (YYYY-MM-DD), or a preset such as LAST\_30\_DAYS. Default: the last 7 days. |
| `query_type` | enum (`all`, `branded`, `nonbranded`) | No | - | Keep only branded or nonbranded queries. Default: all. |
| `query_topic` | string | No | - | Keep one query topic, by its exact name from the topics report. |
| `queries` | array of CitationQueryFilter | No | - | Keep AI queries matching any of these: a list of \{operator, value} with operator Equals or Contains. Example: \[\{"operator": "Contains", "value": "google ads"}] |
| `cited_pages` | array of CitationPageFilter | No | - | Keep cited page URLs matching any of these: a list of \{operator, value} with operator Equals, Contains, StarstWith (Clarity's spelling of starts with), EndsWith or RegexMatch. Example: \[\{"operator": "Contains", "value": "/blog/"}] |
| `trend_values` | array of string | No | - | Required for query\_trend and page\_trend: up to 5 exact queries (from the queries report) or page URLs (from the pages report) to trend. A list, or text with one value per line. |
| `limit` | integer | No | `100` | Rows to return for queries, topics and pages, 1 to 100. |
| `offset` | integer | No | `0` | Rows to skip for queries, topics and pages, to read further pages. |

### CitationPageFilter

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `operator` | enum (`Equals`, `Contains`, `StarstWith`, `EndsWith`, `RegexMatch`) | Yes | - | |
| `value` | string | Yes | - | |

### CitationQueryFilter

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `operator` | enum (`Equals`, `Contains`) | Yes | - | |
| `value` | string | Yes | - | |

### DateRange

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. |
| `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. |
| `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. |
| `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. |

### CompareOptions

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. |
| `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. |
| `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. |
| `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. |
| `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' |

## Output

**Type**: `Dict or List[Dict]`

Depends on report\_type. overview: one object with pageCitationsCount, shareOfAuthority (own, others, total, percentage), brandedSplit, aiReferredTraffic, latestUpdateTimestamp. queries: query, queryTopic, totalCitationCount, shareOfAuthority, isBranded. pages: pageUrl, totalCitationCount. topics: one row per query topic. citations\_trend and share\_of\_authority\_trend: date, value. query\_trend and page\_trend: item, date, value.

**Fields**: dynamic (depend on the inputs)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.