Find cases whose competence team was

Hi,

I am looking for a rest api specification to find cases whose competence team was a fixed string.

I'm actually able only to find cases that currently have a specific competence team but not ones that were managed by this competence team in the past.

Do you have any suggestions?

Thank you

regards