How to hide filter from menu, but still can be used in background

Dear Experts,
i have a filter which is used to process some input files, i just used from programing, which is triggered by context user, but i found it will be shown in filter menu, which is not expected result.

so my question is how to hide this filter in menu, avoid user to see it.
but i can still create and use it from program?

As far as i understand your question, this is not possible.

But I’m not sure what you are trying to achieve so maybe with more details we can find another solution.

Thank you Nicolas for your reply.
What i want to achieve is hide some filters from UI (since they are not the normal filters that can be used by user), but i can create and use these filter in client side to get some data process result from code.