get_session_ids
Get unique session IDs active in a date range, optionally filtered by an event, for session inspection.
Instructions
Get the unique session ids active in a range, optionally filtered to an event.
Use this to find sessions to inspect with get_tracking_data, not to count unique
visitors (use get_website_stats for counts). Pass event_name to keep only
sessions that fired that event, or omit it for all sessions.
Args: website_id: The website id (from get_websites). start_at: Range start (UTC). end_at: Range end (UTC). event_name: Optional event name to filter by (e.g. 'checkout_completed').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| website_id | Yes | ||
| start_at | Yes | ||
| end_at | Yes | ||
| event_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |