Can we get the all notebooks attached to an all purpose compute at a particular instant ?

RahulChaubey
New Contributor III

For an all purpose compute, we can see the notebooks attached to a cluster in the UI. Is there a way to get the same details using some api or other method in program. 

RahulChaubey_0-1711954016858.png