Cloud Health platform Reporting API allows REST-based access to data presented in OLAP Reports.
Statement details Cost history of category 'AWS services'.
AWS Services.
Adding dimension of 'AWS Service Category' will fetch the total cost and not the statement details.
curl -H 'Authorization: Bearer XXXXX98900000YYYY' -H ' Accept: application/json' https://chapi.cloudhealthtech.com/olap_reports/cost/history?dimensions[]=AWS-Service-Category&measures[]=cost&filters[]=AWS-Service-Category:select:other&filters[]=time:select:-4&client_api_id=*****&collapse_null_arrays=1
For Statement details need to use the Graphql API.
https://help.cloudhealthtech.com/graphql-api/#createflexreport