Get a cacheable report
GET https://{{host}}/reporting-api/v1/reports/:name/versions/:version/report-data?start={{start}}&end={{end}}&interval={{interval}}
Produce a report in either JSON or CSV format for a specific version of a type of report. While functionally identical to Generate a report, this alternative GET operation specifies all request data as query parameters.
Body
PARAM
Key | Datatype | Required | Description |
start
|
string | (Required) Specifies the start of the reported period as an ISO 8601 date with timezone. | |
end
|
string | (Required) Specifies the end of the reported period as an ISO 8601 date with timezone. Any data that matches the `end` value's timestamp is excluded from the report. | |
interval
|
string | (Required) __Enum__ The duration of each data record, either `FIVE_MINUTES`, `HOUR`, `DAY`, `WEEK`, or `MONTH`. Support for specific interval values may vary by report type. | |
objectIds
|
string | (Optional) As an alternative to `allObjectIds`, specifies the set of unique IDs for the given object type you want to report on, formatted as a comma-delimited list. | |
allObjectIds
|
string | (Optional) As an alternative to `objectIds`, enabling this generates a report that includes all IDs available for the specified object type (each report supports only one specific object type). This parameter is ignored if the request also specifies a set of `objectIds`. | |
metrics
|
string | (Optional) Specifies a comma-separated list of metrics to include in the report, otherwise all metrics if omitted. The set of available metrics depends on the type of report. | |
filters
|
string | (Optional) Specif Curl curl -X GET 'https://host/reporting-api/v1/reports/:name/versions/:version/report-data?start=&end=&interval=?start=&end=&interval=&objectIds=&allObjectIds=&metrics=&filters=&dataWrapNumberOfItems=&dataWrapLabel=&accountSwitchKey=' -H 'Accept: application/json' ENDPOINTS |