Resource Usage Over Time V1
Get a breakdown of resource usage over time.
- application/json;charset=UTF-8
Request Body required
- accountIds string[] required
List of account IDs
- limit int32
Limit of items per request. Default is 1000.
timeRange object
Model for TimeRangeConfig
value object
Model for RelativeTimeDuration
unit stringPossible values: [
minute
,hour
,day
,week
,month
,year
,epoch
,login
,INVALID
,minute, hour, day, week, month, year, epoch, login
]Time unit
amount int32Number of time units
relativeTimeType stringPossible values: [
BACKWARD
]- cloudType string
Cloud type values
- csvHeaderRequired boolean
CSV file header
- 200
- 400
- 403
- 500
Graph query Api response.
- application/json;charset=UTF-8
- Schema
- Example (from schema)
Schema
dataPoints object[]
Graph GraphDataPoint points
Array [timeRange object
Time range
startTime object required
Start Time im Millis
empty booleanpresent booleanasLong int64endTime object required
End Time im Millis
empty booleanpresent booleanasLong int64counts object
Graph resource usage by cloud type
property name* object
Graph resource usage by cloud type
property name*
integer]- workloadsPurchased int32
Purchased workload count
- timeUnit string
Possible values: [
minute
,hour
,day
,week
,month
,year
,epoch
,login
,INVALID
]Returned data in time unit
- availableAsOf int64
Selected data end time in milli second
{
"dataPoints": [
{
"timeRange": {
"startTime": {
"empty": true,
"present": true,
"asLong": 0
},
"endTime": {
"empty": true,
"present": true,
"asLong": 0
}
},
"counts": {}
}
],
"workloadsPurchased": 0,
"timeUnit": "minute",
"availableAsOf": 0
}
invalid_parameter_value
- application/json;charset=UTF-8
- Schema
- Example (from schema)
Schema
- timestamp string required
timestamp
- status int32 required
Http status
- error string required
Error message
- message string required
Error message
- path string required
Request path
{
"timestamp": "string",
"status": 0,
"error": "string",
"message": "string",
"path": "string"
}
Forbidden
- application/json;charset=UTF-8
- Schema
- Example (from schema)
Schema
- timestamp string required
timestamp
- status int32 required
Http status
- error string required
Error message
- message string required
Error message
- path string required
Request path
{
"timestamp": "string",
"status": 0,
"error": "string",
"message": "string",
"path": "string"
}
internal_error
- application/json;charset=UTF-8
- Schema
- Example (from schema)
Schema
- timestamp string required
timestamp
- status int32 required
Http status
- error string required
Error message
- message string required
Error message
- path string required
Request path
{
"timestamp": "string",
"status": 0,
"error": "string",
"message": "string",
"path": "string"
}