Get the usage charts for the organization.
Server:
https://cloud.elastic.co
(Public)
- GET /api/v2/billing/organizations/{organization_id}/charts
Retrieves the usage charts for the organization. Admin callers receive all instances; non-admin user callers receive data filtered to the instances they have access to (empty buckets if none).
Path Parameters
-
organization_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.
Unauthorized
Response Type: string
404
Not found.
424
Failed dependency.
500
Internal Server Error.