Resource Usage Over Time V1
POST/license/api/v1/usage/time_series
Get a breakdown of resource usage over time.
Request
- application/json;charset=UTF-8
Body
required
List of account IDs
Limit of items per request. Default is 1000.
timeRange objectrequired
Model for TimeRangeConfig
Possible values: [relative
]
value object
Model for RelativeTimeDuration
Possible values: [minute
, hour
, day
, week
, month
, year
, epoch
, login
, INVALID
, minute, hour, day, week, month, year, epoch, login
]
Time unit
Number of time units
Possible values: [BACKWARD
]
Cloud type values
CSV file header
Responses
- 200
- 400
- 403
Graph query Api response.
- application/json;charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
dataPoints object[]
Graph GraphDataPoint points
timeRange object
Time range
startTime objectrequired
Start Time im Millis
endTime objectrequired
End Time im Millis
counts object
Graph resource usage by cloud type
property name* object
Graph resource usage by cloud type
Graph resource usage by cloud type
Purchased workload count
Possible values: [minute
, hour
, day
, week
, month
, year
, epoch
, login
, INVALID
]
Returned data in time unit
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
Http status
Error message
Error message
Request path
{
"timestamp": "string",
"status": 0,
"error": "string",
"message": "string",
"path": "string"
}
Forbidden
- application/json;charset=UTF-8
- Schema
- Example (from schema)
Schema
timestamp
Http status
Error message
Error message
Request path
{
"timestamp": "string",
"status": 0,
"error": "string",
"message": "string",
"path": "string"
}