Skip to main content

Resource Usage Over Time V2

POST 

/license/api/v2/time_series

Get a breakdown of resource usage over time.

Request

Body

required
    accountIds string[]required

    List of account IDs

    limit int32

    Limit of items per request. Default is 1000.

    cloudTypes string[]

    List of cloud types

    timeRange objectrequired

    Model for TimeRangeConfig

    value object

    Model for RelativeTimeDuration

    unit string

    Possible values: [minute, hour, day, week, month, year, epoch, login, INVALID, minute, hour, day, week, month, year, epoch, login]

    Time unit

    amount int32

    Number of time units

    relativeTimeType string

    Possible values: [BACKWARD]

    pageToken string

    Page token for pagination

    offset int64

    Offset

Responses

Graph query Api response.

Schema
    dataPoints object[]

    Graph GraphDataPoint points

  • Array [
  • timeRange object

    Time range

    startTime objectrequired

    Start Time im Millis

    empty boolean
    present boolean
    asLong int64
    endTime objectrequired

    End Time im Millis

    empty boolean
    present boolean
    asLong int64
    counts object

    Graph resource usage by cloud type

    property name* object

    Graph resource usage by cloud type

    property name* int32

    Graph resource usage by cloud type

  • ]
  • 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

Loading...