Api for querying environments as used by the new multi stage yaml deployment job

Good morning All, Is there an api for querying environments as used by the new multi stage yaml deployment job? Basically I am after all the runs that affected an environment in the past week / month but could not see anything obvious in the api docs.

I found something, after decomposing the UI, the api _apis/pipelines/environments/{id}/environmentdeploymentrecords gets back the information. I really wish MS documented this stuff.

Aha - thanks for sharing!