Get the usage charts for the organization.

Base URL
https://cloud.elastic.co Public

Retrieves the usage charts for the organization. Platform callers (organization:get:all) and organization billing admins see unfiltered results; other billing-organization:get callers are filtered to instances accessible via the control-plane client (empty buckets if none).

Path parameters

organization_id string required

Query parameters

from string required

A datetime for the beginning of the desired range. Non-UTC offsets are converted to UTC internally. Responses always contain UTC values. If no timezone offset is specified, the request is rejected.

Example: 2021-04-21T00:00:00+00:00
to string required

A datetime for the end of the desired range. Non-UTC offsets are converted to UTC internally. Responses always contain UTC values. If no timezone offset is specified, the request is rejected.

Example: 2021-04-21T00:00:00+00:00
bucketing_strategy enum

The desired bucketing strategy for the charts.

Values: daily monthly

Responses

Successfully return the usage charts of an organization.

application/json
data object[]

The list of chart item.

timestamp integer · format: int64

Axis X position.

values object[]

The collection of values to plot the chart item.

id string

The id of chart item value.

name string

The name of the chart item value.

type string

Item type.

value number · format: double

The actual value of the chart item value.

Unauthorized

text/plain

Response Type: string

404

Not found.

424

Failed dependency.

500

Internal Server Error.

Base URL
https://cloud.elastic.co Public