user_ids (list): List of user IDs to filter by.
agent_ids (list): List of agent IDs to filter by.
project_ids (list): List of project IDs to filter by.
response_quality (str): Filter by response quality (upvote or downvote).
comments (bool): Filter by comments (True or False).
query_source (str): Filter by query source.
success_status (str): Filter by success status (successful or failed).
from_date (str): Filter by start date (YYYY-MM-DD).
to_date (str): Filter by end date (YYYY-MM-DD).
export (bool): Export the data to a CSV file. Default is False.
timezone (str): Timezone of the user. Default is UTC.
from_date/to_date accept either date (YYYY-MM-DD) or ISO 8601 datetime. Date-only uses start/end of day in user's timezone.
Optional 'duration' body field (e.g., 30m, 12h, 7d, 2w, 5s) applies when explicit dates are not provided.
Explicit timestamps take precedence over 'duration'.