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.
Methods
Section titled “Methods”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.
Parameters
Section titled “Parameters”filters?
Section titled “filters?”options?
Section titled “options?”Returns
Section titled “Returns”Promise<ActivityLogPage>
topUsers()
Section titled “topUsers()”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.
Parameters
Section titled “Parameters”window?
Section titled “window?”"24h" | "7d"
options?
Section titled “options?”Returns
Section titled “Returns”Promise<ActivityTopUsers>