Get deployments costs for the organization. Currently unavailable in self-hosted ECE.
Deprecated
EXPERIMENTAL (it may change in future versions): Retrieves the costs associated with all deployments for the organization.
Query parameters
-
A datetime for the beginning of the desired range for which to fetch activity. Defaults to start of current month.
-
A datetime for the end of the desired range for which to fetch activity. Defaults to the current date.
Responses
-
The costs associated to a set of products
-
Invalid date range specified. (code:
costs.invalid_date_range
) -
The current user does not have access to the requested organization. (code:
organization.invalid_access
) -
Organization not found. (code:
organization.not_found
) -
An error occurred when fetching the costs associated with all deployments for the organization. (code:
billing_service.failed_request
)
GET
/billing/costs/{organization_id}/deployments
curl \
--request GET 'http://api.elastic-cloud.com/api/v1/billing/costs/{organization_id}/deployments' \
--header "Accept: string"