Get charts for the organization. Currently unavailable in self-hosted ECE.
Auth
Deprecated
Retrieves the usage charts for the organization.
-
organization_id
string
required
-
Identifier for the organization
-
from
string
-
A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.
-
to
string
-
A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.
-
bucketing_strategy
enum · default: daily
-
The desired bucketing strategy for the charts. Defaults to daily.
-
Values:
daily
monthly
The usage charts of an organization.
application/json
-
data
object[]
required
-
The list of chart item
-
-
timestamp
integer · format: int64
required
-
Axis X position
-
values
object[]
required
-
the collection of values to plot the chart item
-
-
id
string
required
-
The id of chart item value
-
name
string
required
-
The name of the chart item value
-
value
number · format: double
required
-
The actual value of the chart item value
The specified date range is invalid. (code: costs.invalid_date_range)
application/json
-
errors
object[]
required
-
A list of errors that occurred in the failing request
-
-
code
string
required
-
A structured code representing the error type that occurred
-
message
string
required
-
A human readable message describing the error that occurred
-
fields
string[]
-
If the error can be tied to a specific field or fields in the user request, this lists those fields
The current user does not have access to the requested organization. (code: organization.invalid_access)
application/json
-
errors
object[]
required
-
A list of errors that occurred in the failing request
-
-
code
string
required
-
A structured code representing the error type that occurred
-
message
string
required
-
A human readable message describing the error that occurred
-
fields
string[]
-
If the error can be tied to a specific field or fields in the user request, this lists those fields
Organization not found. (code: organization.not_found)
application/json
-
errors
object[]
required
-
A list of errors that occurred in the failing request
-
-
code
string
required
-
A structured code representing the error type that occurred
-
message
string
required
-
A human readable message describing the error that occurred
-
fields
string[]
-
If the error can be tied to a specific field or fields in the user request, this lists those fields
Too many requests. (code: billing_service.rate_limited)
application/json
-
errors
object[]
required
-
A list of errors that occurred in the failing request
-
-
code
string
required
-
A structured code representing the error type that occurred
-
message
string
required
-
A human readable message describing the error that occurred
-
fields
string[]
-
If the error can be tied to a specific field or fields in the user request, this lists those fields
Error fetching the itemized costs for the organization. (code: billing_service.failed_request)
application/json
-
errors
object[]
required
-
A list of errors that occurred in the failing request
-
-
code
string
required
-
A structured code representing the error type that occurred
-
message
string
required
-
A human readable message describing the error that occurred
-
fields
string[]
-
If the error can be tied to a specific field or fields in the user request, this lists those fields