Filter option is currently not available in API v2. You can use “Get all pipeline” endpoint to get the information about all the pipelines and it also contains the branch.
Sorry but currently that is the only option and we don’t have any direct endpoint showing last successful job. I am sure our engineering team will be working on it.
I agree with you and would like you to vote to this idea which looks similar to yours.