Clojure wrapper for the Google Admin SDK Reports API.
Provides idiomatic Clojure functions for retrieving Workspace usage metrics (per-user, per-customer, per-entity) and audit-log activities.
Auth: use csl/scoped-delegated-credentials with the appropriate scope and a super-admin impersonation target:
All list functions return {:data [...] :next-page-token "..."}. :next-page-token is absent when there are no further pages.
Reports API data lag: usage metrics lag by 1–3 days on Google's side.
Callers must query today - 3 or earlier; querying a too-recent date
returns an empty response.
All functions return {:data ...} on success or {:error ...} on failure.
Clojure wrapper for the Google Admin SDK Reports API.
Provides idiomatic Clojure functions for retrieving Workspace usage
metrics (per-user, per-customer, per-entity) and audit-log activities.
Auth: use csl/scoped-delegated-credentials with the appropriate scope
and a super-admin impersonation target:
- ReportsScopes/ADMIN_REPORTS_USAGE_READONLY (usage reports)
- ReportsScopes/ADMIN_REPORTS_AUDIT_READONLY (audit activities)
All list functions return {:data [...] :next-page-token "..."}.
:next-page-token is absent when there are no further pages.
Reports API data lag: usage metrics lag by 1–3 days on Google's side.
Callers must query `today - 3` or earlier; querying a too-recent date
returns an empty response.
All functions return {:data ...} on success or {:error ...} on failure.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |