Get itemized costs by deployments. Currently unavailable in self-hosted ECE.
Deprecated
EXPERIMENTAL (it may change in future versions): Retrieves the itemized costs for the given deployment.
Headers
-
Accept
string Determines the response body format. Can be either application/json or text/csv.
Path parameters
-
organization_id
string Required Identifier for the organization
-
deployment_id
string Required Id of a Deployment
Responses
-
200 application/json
The costs associated to a set items billed for a single deployment.
-
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
- The organization was not found. (code:
organization.not_found
) - The Elasticsearch cluster was not found. (code:
billing_service.es_cluster_id_not_found
)
- The organization was not found. (code:
-
500 application/json
An error occurred when fetching the itemized costs for the given deployment of the organization. (code:
billing_service.failed_request
)
GET
/billing/costs/{organization_id}/deployments/{deployment_id}/items
curl \
--request GET 'https://{{hostname}}/api/v1/billing/costs/{organization_id}/deployments/{deployment_id}/items' \
--user "username:password" \
--header "Accept: string"