How can I retrieve usage and cost data for my IBM Cloud account using a REST API? I found that there are billing related commands and I can export some data as JSON. Is there an API or SDK I can use, ideally Python?
Here are some of the IBM Cloud billing commands I use:
ibmcloud billing resource-instances-usage --json
ibmcloud billing account-usage --json
Are there equivalent APIs for that?