The Analytics API reports authentication activity for an organization. All endpoints require an authenticated organization member and default to the last 30 days when dates are omitted.
Endpoint and task index
| Goal | Page |
|---|---|
| Query login trends, service/provider counts, or recent logins | Endpoint reference |
| Build a dashboard or choose useful date ranges | Dashboard recipes |
| Define access, data-window, volume, and interpretation controls | Security and operations |
| Diagnose empty, incomplete, unauthorized, or high-volume results | Troubleshooting |
Available views
- Daily login trends over a selected date range
- Login counts grouped by service
- Login counts grouped by OAuth provider
- Recent immutable login events
Use the SDK Analytics module when a TypeScript application benefits from typed wrappers around these contracts. Administrative actions are recorded separately in the Audit Logs API.