# Admin Federation Metrics Administrative endpoints for monitoring and managing federation with other ActivityPub instances. Provides metrics on connected domains, user counts, post statistics, and federation health monitoring. ## List federated domains - [GET /api/v1/admin/federation](https://docs.wellesley.social/openapi/admin-federation-metrics/paths/~1api~1v1~1admin~1federation/get.md): Retrieves a paginated list of all domains this instance is federated with, including user counts, availability status, and blocking state. Supports filtering by domain name, availability, and block status. ## List tracked ActivityPub operations - [GET /api/v1/admin/federation/metrics/operations](https://docs.wellesley.social/openapi/admin-federation-metrics/paths/~1api~1v1~1admin~1federation~1metrics~1operations/get.md): Retrieves a list of all ActivityPub operations that have been tracked on this server. An operation combines the Activity type with the inner object type (if present). Examples: 'create-note' (Create activity with Note object), 'follow' (Follow activity), 'accept-follow' (Accept activity with Follow object), 'announce' (boost/reblog), 'undo-announce'. RBAC: - requires ANY of Federation.Read, Federation.Manage ## Get metrics for specific operation - [GET /api/v1/admin/federation/metrics/running-average-single](https://docs.wellesley.social/openapi/admin-federation-metrics/paths/~1api~1v1~1admin~1federation~1metrics~1running-average-single/get.md): Returns sliding window metrics for a single ActivityPub operation, including count, average processing time, and percentiles. The metrics are calculated over the specified time window. Returns 404 if no data exists for the operation or the window has expired. RBAC: - requires ANY of Federation.Read, Federation.Manage ## Get metrics for multiple operations - [GET /api/v1/admin/federation/metrics/running-averages-all](https://docs.wellesley.social/openapi/admin-federation-metrics/paths/~1api~1v1~1admin~1federation~1metrics~1running-averages-all/get.md): Returns sliding window metrics for all ActivityPub operations or a filtered subset. Only includes operations that have active data within the specified time window. Each operation's metrics include count, average processing time, and percentiles. RBAC: - requires ANY of Federation.Read, Federation.Manage ## Get domain federation details - [GET /api/v1/admin/federation/{domain}](https://docs.wellesley.social/openapi/admin-federation-metrics/paths/~1api~1v1~1admin~1federation~1%7Bdomain%7D/get.md): Retrieves detailed federation statistics for a specific domain, including user counts, post counts, follower/following relationships, reports, availability status, and blocking information. RBAC: - requires ANY of Federation.Read, Federation.Manage