IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Get itemized costs for the organization
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Get itemized costs for the organization
editEXPERIMENTAL (it may change in future versions): Retrieves the itemized costs for the organization.
Request
editGET /api/v1/billing/costs/{organization_id}/items
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
Identifier for the organization |
Query parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
N |
A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month. |
|
|
N |
A datetime for the end of the desired range for which to fetch costs. Defaults to the current date. |
Responses
edit-
200
-
The costs associated to a set of items
-
403
-
The current user does not have access to the requested organization. (code:
organization.invalid_access
)Headers
-
x-cloud-error-codes
(string
; allowed values: [organization.invalid_access
]) - The error codes associated with the response
-
Request example
editcurl -XGET https://{{hostname}}/api/v1/billing/costs/{organization_id}/items \ -H "Authorization: ApiKey $ECE_API_KEY"