This extension was part of Blender 4.1 bundled add-ons. It is now offered as it is, with limited supported.
Simplify F-curves operator enabled in Graph Editor (Channel menu)
This extension does not require special permissions.
To enable go to Edit > Preferences > Interface > Display: Developer Extras (enable) In Graph Editor use F3 to open menu and find Simplify F-Curves
Another easy way is Decimate: (Graph Editor > Key > Density > Decimate (Ratio) Hope to help ;)
good