This mimics the same thing the RailsQueueDuration does for Rails controller requests and will help diagnose issues with API delays. Closes #46601
This will enable admins to identify who actually made the API request. Relates to #36960