12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- [role="xpack"]
- [testenv="platinum"]
- [[autoscaling-get-autoscaling-capacity]]
- === Get autoscaling capacity API
- ++++
- <titleabbrev>Get autoscaling capacity</titleabbrev>
- ++++
- Get autoscaling capacity.
- [[autoscaling-get-autoscaling-capacity-request]]
- ==== {api-request-title}
- [source,console]
- --------------------------------------------------
- GET /_autoscaling/capacity/
- --------------------------------------------------
- // TEST
- [[autoscaling-get-autoscaling-capacity-prereqs]]
- ==== {api-prereq-title}
- * If the {es} {security-features} are enabled, you must have
- `manage_autoscaling` cluster privileges. For more information, see
- <<security-privileges>>.
- [[autoscaling-get-autoscaling-capacity-desc]]
- ==== {api-description-title}
- This API gets the current autoscaling capacity based on the configured
- autoscaling policy. This API will return information to size the cluster
- appropriately to the current workload.
- [[autoscaling-get-autoscaling-capacity-examples]]
- ==== {api-examples-title}
- This example retrieves the current autoscaling capacity.
- [source,console]
- --------------------------------------------------
- GET /_autoscaling/capacity
- --------------------------------------------------
- // TEST
- The API returns the following result:
- [source,console-result]
- --------------------------------------------------
- {
- policies: {}
- }
- --------------------------------------------------
|