Not sure If I get your question...
Do you need to dynamically disable the filter from inside the action body?
The JsReportFeature has Enabled property
https://github.com/jsreport/jsreport-dotnet-aspnetcore/blob/1a18b8cb2141fe83ee3bfb6726ab0b199eef6ecf/jsreport.AspNetCore/JsReportFeature.cs#L34
A