Hi Salvinder,
There is not an API for that as tenant doesn't exist as an entity in CGRateS, it's simply an extra filter on each of the subsystems.
You will need to keep a list of tenants outside of CGRateS, or in case you do not have it and want to find them, you can query the keys inside Redis.
Thanks,
Armir