Get the usage charts for the instance of an organization.
https://cloud.elastic.co
(Public)
- GET /api/v2/billing/organizations/{organization_id}/instances/{instance_id}/charts
Retrieves the usage charts for the organization's instance. Admin callers receive the data unconditionally; non-admin user callers receive 403 if the instance is not in their accessible cloud resources.
Path Parameters
-
organization_idstringrequired -
instance_idstringrequired
Query Parameters
-
fromstringrequired A datetime for the beginning of the desired range. Non-UTC offsets are converted to UTC internally. Responses always contain UTC values. If no timezone offset is specified, the request is rejected.
-
tostringrequired A datetime for the end of the desired range. Non-UTC offsets are converted to UTC internally. Responses always contain UTC values. If no timezone offset is specified, the request is rejected.
Responses
Successfully return the usage charts of an organization's instance.
Unauthorized
Response Type: string
Caller does not have access to the requested instance.
Not found.
Failed dependency.
Internal Server Error.