# Metrics

Endpoints for retrieving metrics and analytics data from the events stream

## Get metrics for a specified time period

 - [GET /api/v1/metrics](https://docs.wellesley.social/openapi/metrics/paths/~1api~1v1~1metrics/get.md): Retrieves metrics data for the events stream within a specified time period. Supports both predefined periods (last day/week/month) and custom date ranges.

RBAC:
- requires ANY of Federation.Read, Federation.Manage

## Get current server totals

 - [GET /api/v1/metrics/totals](https://docs.wellesley.social/openapi/metrics/paths/~1api~1v1~1metrics~1totals/get.md): Returns the current total counts of users and posts on the server.

RBAC:
- requires ANY of Federation.Read, Federation.Manage

