FBXExportApplyConstantKeyReducer -v [true|false];
FBXExportApplyConstantKeyReducer-q;
This is the script equivalent of theConstant Key Reducer.
Filters FBX animation FCurves through a Constant Key Reducer. This eliminates constant keys on a FCurve and helps to reduce the size of resampled FCurves, especially Scale.