Skip to main content

Overview

Analytics and usage endpoints

Available Operations

getUserActivity

Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass workspace_id to scope the response to a single workspace. Pass group_by=workspace to split each row per workspace and include workspace_id on every item; by default rows are aggregated across workspaces and workspace_id is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). Management key required.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.ActivityResponse>

Errors