Analytics - TypeScript SDK
Analytics method reference
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
(analytics)
Overview
Analytics and usage endpoints
Available Operations
- getUserActivity - Get user activity grouped by endpoint
getUserActivity
Returns user activity data grouped by endpoint for the last 30 (completed) UTC days
Example Usage
Standalone function
The standalone function version of this method:
React hooks and utilities
This method can be used in React components through the following hooks and associated utilities.
Check out this guide for information about each of the utilities below and how to get started using React hooks.
Parameters
Response
Promise<operations.GetUserActivityResponse>