Skip to main content

Overview

Analytics and usage endpoints

Available Operations

get_user_activity

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

Parameters

Response

components.ActivityResponse

Errors

get_analytics_meta

Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Management key required.

Example Usage

Parameters

Response

operations.GetAnalyticsMetaResponse

Errors

query_analytics

Execute an analytics query with specified metrics, dimensions, filters, and time range. Management key required.

Example Usage

Parameters

Response

operations.QueryAnalyticsResponse

Errors