How do I get the cycle balance of a canister from the front end typescript?

I thought it was the management canister but that is not it.

It is but note that the principal that query canister_status should be a controller of the canister.

example: cycles.watch/ic.services.ts at 9bd0182c410866f6e841d3c601186ea06da348e6 · papyrs/cycles.watch · GitHub