# Identify slowest feed operations Analyzes and ranks feed operations by their average execution time across all users. Helps identify performance bottlenecks. RBAC: - requires ANY of Jobs.Read, Jobs.Manage Endpoint: GET /api/v1/admin/feed/metrics/slowest-operations Version: 1.0 Security: ## Query parameters: - `limit` (integer) Maximum number of operations to return (default: 10) Example: 10 - `ownerType` (string,null) Optional owner type filter Enum: "USER", "EVENT", "CATEGORY" - `window` (string, required) Time window for analysis Enum: "TEN_MINUTES", "ONE_HOUR", "TWENTY_FOUR_HOURS" ## Response 200 fields (application/json): - `slowestOperations` (array, required) - `slowestOperations.globalAverage` (number) - `slowestOperations.totalMeasurements` (integer) - `slowestOperations.totalTime` (integer) - `slowestOperations.userCount` (integer) - `slowestOperations.lastUpdated` (string, required) Example: "2022-03-10T16:15:50Z" - `slowestOperations.operation` (string, required) Enum: "populate", "merge", "unmerge", "redis", "redisLex", "cache", "idsDb", "db", "add", "remove" - `slowestOperations.ownerType` (string,null) Owner types for posts: * USER - user’s channel (personal or group channel) * EVENT - event (personal or group) * CATEGORY - forum category POST OWNER: - Personal channel - userId = author - ownerId = userId (Type.USER) - ownerType = USER - groupId = null - Forum post - userId = author - ownerId = categoryId (Type.CATEGORY) - ownerType = CATEGORY - groupId = forum’s groupId - Personal event - userId = author - ownerId = eventId (Type.EVENT) - ownerType = EVENT - groupId = null - Group channel - userId = author - ownerId = channel userId (Type.USER) - ownerType = USER - groupId = groupId - Group event - userId = author - ownerId = eventId (Type.EVENT) - ownerType = EVENT - groupId = groupId Enum: "USER", "EVENT", "CATEGORY" - `totalOperationsAnalyzed` (integer) ## Response 403 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation