How to fetch runs from cluster id in api

talha
New Contributor III

Task to achieve: We have cluster id and want to fetch all runs against it.

Currently I have to get all the runs, iterate through it and filter out the runs with the required cluster id.

Similarly if I want to fetch all the runs that are active?