The Reports API allows you to generate new reports and download them as CSV files. Here is a complete list of available reports
Returns a report or report status identified by the reportReference id
Report status and url
Unauthorized
A report with the given report reference was not found
{- "status": "PENDING",
- "urlExpiration": "2019-08-24T14:15:22Z",
- "url": "string",
- "errorMessage": "string"
}
Creates a new report that can be downloaded in CSV format
{- "reportType": "Billing-Credits_Balance",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}
{- "reportReference": "string"
}