Hi Google Workspace Developers Community ![]()
What I’m Trying to Do
I’m building an audit tool that fetches deleted Google Calendar
events for users in our domain using the Admin SDK Reports API.
I want to search for events with a specific start_time value
(e.g., 63894355200) using the filters query parameter.
The Problem
The start_time parameter in calendar audit logs is returned
as an intValue (int64) in the API response:
{
“name”: “start_time”,
“intValue”: “63894355200”
}
However, when I try to filter using this value, I get errors:
filters=start_time==63894355200
→ 500 Internal Server Error
filters=start_time==“63894355200”
→ 400 Bad Request: “Invalid value for parameter start_time
of type integer”
My Questions
-
Is filtering on
intValue(int64) fields supported in the
filtersparameter of activities.list? -
If not, is this documented somewhere? I couldn’t find any
explicit mention in the official docs:
Method: activities.list | Admin console | Google for Developers -
Is there any alternative API-level approach to filter by
start_time without fetching all events client-side?
Current Workaround
Right now I’m fetching ALL deleted events and filtering locally
in Python by comparing the intValue as a string:
matched = [
item for item in results.get(“items”, )
for event in item.get(“events”, )
for param in event.get(“parameters”, )
if param.get(“name”) == “start_time”
and param.get(“intValue”) == “63894355200”
]
This works but is very inefficient for large domains with
thousands of calendar events.
Any guidance from the community or Google team would be
greatly appreciated! ![]()
References
- activities.list API Reference:
Method: activities.list | Admin console | Google for Developers - Calendar Audit Events Reference:
https://developers.google.com/admin-sdk/reports/v1/activity/events/calendar