# Get user running average

Retrieves the running average performance metrics for a specific user and operation within a sliding time window.

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

Endpoint: GET /api/v1/admin/feed/metrics/running-average-single
Version: 1.0
Security: header

## Query parameters:

  - `operation` (string, required)
    Feed operation to analyze
    Enum: "populate", "merge", "unmerge", "redis", "redisLex", "cache", "idsDb", "db", "add", "remove"

  - `userId` (string, required)
    User ID to analyze
    Example: "us_01hxcvk1hjexere4pvtrj0ymqq"

  - `window` (string, required)
    Sliding window size for averaging
    Enum: "TEN_MINUTES", "ONE_HOUR", "TWENTY_FOUR_HOURS"

## Response 200 fields (application/json):

  - `average` (number, required)
    Average duration in milliseconds for operations in this window

  - `count` (integer, required)
    Total number of operations recorded in this window

  - `totalTime` (integer, required)
    Sum of all operation durations in milliseconds

  - `lastUpdated` (string, required)
    When the last metric was added to this window
    Example: "2022-03-10T16:15:50Z"

  - `operation` (string, required)
    The operation name being tracked

  - `windowCreated` (string, required)
    When this window was created (first metric timestamp)
    Example: "2022-03-10T16:15:50Z"

## Response 403 fields (application/json):

  - `errorCode` (string, required)
    Error code

  - `message` (string, required)
    Error message

  - `docUrl` (string)
    Link to documentation


