How do I filter list of commits from REST API v2

Hi, Now it’s 2022 , Any update on this?

Without filtering commits the rest API is practically unusable.