Search sessions
search_sessionsLists the sessions that started in a date range (default: the last 7 days), newest first, with their report values (channel, source / medium, campaign, landing page, country, device and more), pageviews, event counts, landing URL and referrer. The filters take the values of a run_report row. A new session appears a few minutes after its events. Paged with next_cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page, 1-1000. Default 100. | |
| cursor | No | next_cursor of the previous page. | |
| endDate | No | today, yesterday, NdaysAgo or YYYY-MM-DD. Default: 6daysAgo to today. At most 400 days. Data starts at data_from (about the last 6 months). | |
| filters | No | Exact, case-sensitive values. Keys: channel, source, medium, source_medium, campaign, keyword, ad_content, source_alias, landing_page, exit_page, country, device_category, browser, operating_system, user_type, customer_type, first_source_3d (also 7d, 14d, 30d, 60d, 90d), page (the session viewed it), event_name (the session had it). | |
| startDate | No | today, yesterday, NdaysAgo or YYYY-MM-DD. Default: 6daysAgo to today. At most 400 days. Data starts at data_from (about the last 6 months). | |
| includeBots | No | Include sessions with a bot score of 0.85 or more. Default false. | |
| server_name | No | Server name (required when connected to multiple servers). | |
| container_id | Yes | Container ID (starts with "trc_") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| metadata | No | ||
| next_cursor | No |