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').
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"website_id": "<website_id>",
"start_at": "<start_at>",
"end_at": "<end_at>"
},
"name": "get_session_ids"
}
}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 |