Detect usage of realtime API via metric field and use realtime API endpoint instead of standard endpoint