Get instances costs for the organization.

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

Retrieves costs associated with all instances for the organization. Platform callers (organization:get:all) and organization billing admins see unfiltered results; other billing-organization:get callers are filtered to accessible instances (empty result if none).

Path parameters

organization_id string required

Identifier for the organization

Query parameters

from string required

A datetime for the beginning of the desired range. Any timezone offset is accepted and converted to UTC internally. Responses always contain UTC values. If no timezone offset is specified, UTC is assumed.

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

A datetime for the end of the desired range. Any timezone offset is accepted and converted to UTC internally. Responses always contain UTC values. If no timezone offset is specified, UTC is assumed.

Example: 2021-04-21T00:00:00+00:00
include_names boolean

Specifies whether to include project names in the result by querying the control plane

Responses

Success. The costs associated to a set of instances.

application/json
instances object[] required
id string required
name string required
product_line_items object[] required
display_quantity object required

Display quantity

formatted_value string required
type enum required
Values: default normalized
value integer | number required
kind string
name string required
quantities object[] required
from string · format: date-time required
quantity object

Quantity

formatted_value string required
value integer | number required
rate object required

Rate(value: 'int', formatted_value: 'str')

formatted_value string required
value integer required
tiers object[] required
max integer
min integer required
quantity object required

Quantity

formatted_value string required
value integer | number required
rate object required

Rate(value: 'int', formatted_value: 'str')

formatted_value string required
value integer required
total_ecu integer required
to string · format: date-time required
total_ecu integer required
quantity object required

Quantity

formatted_value string required
value integer | number required
rate object required

Rate(value: 'int', formatted_value: 'str')

formatted_value string required
value integer required
sku string required
total_ecu integer required
type string required
unit string required
total_ecu integer required
type string required
total_ecu integer required
400

The specified data range is invalid.

403

Current user does not have access to the requested organization.

404

Organization not found.

500

Internal server error.

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