Get costs overview for the organization. Currently unavailable in self-hosted ECE.
Deprecated
EXPERIMENTAL (it may change in future versions): Retrieves an overview of the costs by organization ID.
Path parameters
-
organization_id
string Required Identifier for the organization
Responses
-
200 application/json
Top-level cost overview for the organization
-
400 application/json
The specified date range is invalid. (code:
costs.invalid_date_range
) -
403 application/json
The current user does not have access to the requested organization. (code:
organization.invalid_access
) -
404 application/json
Organization not found. (code:
organization.not_found
) -
500 application/json
An error occurred when fetching an overview of the costs for the organization. (code:
billing_service.failed_request
)
GET
/billing/costs/{organization_id}
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/billing/costs/{organization_id}'