> ## 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.

# List Session Recordings

> List Microsoft Clarity session recordings with a link to watch each one, plus its duration, pages visited and clicks

List Microsoft Clarity session recordings with a link to watch each one, plus its duration, pages visited and clicks. Filter by date, URL, device, country, channel, rage or dead clicks, JavaScript errors and more. Returns up to 250 matching sessions per run; the recording itself plays only in Clarity.

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

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `date_range` | DateRange | No | - | Session dates to include, as UTC days, both ends inclusive. Use preset='FIXED' with start/end dates (YYYY-MM-DD), or a preset such as TODAY or LAST\_7\_DAYS. Default: the last 3 days including today. |
| `filters` | object or string | No | - | Clarity recording filters, sent as-is (all optional, combined with AND). URL lists visitedUrls, entryUrls, exitUrls take \[\{"url", "operator"}] with operator contains, startsWith, endsWith, excludes, isExactly, isExactlyNot, matchesRegex or excludesRegex. Value lists: deviceType (Mobile, Tablet, PC, Email, Other), browser (Chrome, Edge, Firefox, Safari, Opera, SamsungInternet, MobileApp, Other, ...), os (Windows, MacOS, iOS, Android, Linux, ChromeOS, Other), channel (OrganicSearch, Direct, Email, Display, Social, PaidSearch, Affiliate, Referral, Video, Audio, SMS, AITools, PaidAITools, Other), country, state, city (full names), source, medium, campaign, smartEvents (e.g. Purchase, SubmitForm, AddToCart, SignUp, BeginCheckout, Login), javascriptErrors and clickErrors (messages; '' matches any error), productBrand, checkoutAbandonmentStep. Single values: userType (NewUser, ReturningUser), sessionIntent (Low Intention, Medium Intention, High Intention), referringUrl, clickedText, productName. true/false flags: rageClickPresent, deadClickPresent, quickbackClickPresent, excessiveScrollPresent, enteredTextPresent, selectedTextPresent, resizeEventPresent, cursorMovement, productPurchases, productAvailability. Ranges as \{"min", "max"} (either may be null): sessionDuration, pageDuration, visiblePageDuration, hiddenPageDuration (minutes), scrollDepth and performanceScore (0-100), pagesCount, sessionClickEventCount, pageClickEventCount, largestContentfulPaint (seconds), firstInputDelay (ms), cumulativeLayoutShift, productPrice, productRating, productRatingsCount. Use the listed spellings exactly: Clarity fails with a server error on a value it does not know. The date comes from date\_range. Example: \{"rageClickPresent": true, "deviceType": \["Mobile"], "visitedUrls": \[\{"url": "/pricing", "operator": "contains"}]} |
| `sort_by` | enum (`SessionStart_DESC`, `SessionStart_ASC`, `SessionDuration_ASC`, `SessionDuration_DESC`, `SessionClickCount_ASC`, `SessionClickCount_DESC`, `PageCount_ASC`, `PageCount_DESC`) | No | `SessionStart_DESC` | Sort order: SessionStart, SessionDuration, SessionClickCount or PageCount, each \_ASC or \_DESC. Default SessionStart\_DESC (newest first). |
| `limit` | integer | No | `100` | Number of recordings to return, 1 to 250. Default 100. |

### 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**: `List[Dict]`

Returns one row per session: link (Clarity player URL), timestamp (UTC), totalDuration, activeDuration, pagesCount, sessionClickCount and timeline, a list of the pages visited with url, displayTitle, referrerUrl, start, duration and pageLoadTime (ms), LCP, CLS, FID, score and timelineEvents (clicks with text, link, eventtype, start).

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


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