Skip to content

ShardlensActivity

Defined in: packages/client/src/client.ts:55

Who ran what, from a collector in audit mode. Needs an activity key (slk_activity_…): with a read key these reject with activity_key_required, and with audit_mode_off when the collector hashes users instead.

log(filters?, options?): Promise<ActivityLogPage>

Defined in: packages/client/src/client.ts:57

One page of the activity log, newest first. Pass a page’s nextBefore as before for the page after it.

ActivityLogFilters

RequestOptions

Promise<ActivityLogPage>


topUsers(window?, options?): Promise<ActivityTopUsers>

Defined in: packages/client/src/client.ts:59

The users who ran the most in the last 24 hours (the default) or 7 days.

"24h" | "7d"

RequestOptions

Promise<ActivityTopUsers>