# Cloud Cost AutoStopping Rules This contains APIs to create and manage AutoStopping Rules for your cloud resources. ## List AutoStopping Rules - [GET /gateway/lw/api/accounts/{account_id}/autostopping/rules](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/listautostoppingrules.md): Lists all the AutoStopping rules separated by comma-separated strings. ## Create an AutoStopping Rule - [POST /gateway/lw/api/accounts/{account_id}/autostopping/rules](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/updateautostoppingrule.md): Creates a new AutoStopping Rule. ## Return AutoStopping Rule details - [GET /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/autostoppingruledetails.md): Returns details of an AutoStopping Rule for the given identifier. ## Delete an AutoStopping Rule - [DELETE /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/deleteautostoppingrule.md): Deletes an AutoStopping Rule for the given identifier. ## Return health status of an AutoStopping Rule - [GET /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}/health](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/healthofautostoppingrule.md): Returns health status of an AutoStopping Rule for the given identifier. ## Return savings details for an AutoStopping Rule - [GET /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}/savings](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/savingsfromautostoppingrule.md): Returns savings details for an AutoStopping rule for the given identifier and the specified time duration. ## List all the resources for an AutoStopping Rule - [GET /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}/resources](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/allautostoppingresources.md): Lists all the resources for an AutoStopping Rule for the given identifier. ## Return diagnostics result of an AutoStopping Rule - [GET /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}/diagnostics](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/getautostoppingdiagnostics.md): Returns the diagnostics result of an AutoStopping rule for the given identifier. ## Warm up an AutoStopping Rule - [POST /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}/warmup](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/warmupautostoppingrule.md): Warm up resources under an Autostopping rule ## Cool down an AutoStopping Rule - [POST /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}/cooldown](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/cooldownautostoppingrule.md): Cool down resources under an Autostopping rule ## Return metadata of cool down of an AutoStopping Rule - [GET /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}/cooldown_meta](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/getautostoppingcooldownmeta.md): Return metadata of cool down of an AutoStopping Rule ## Return cumulative savings for all the AutoStopping Rules - [GET /gateway/lw/api/accounts/{account_id}/autostopping/rules/savings/cumulative](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/cumulativeautostoppingsavings.md): Returns cumulative savings for all the AutoStopping Rules. ## Disable/Enable an Autostopping Rule - [PUT /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}/toggle_state](https://apidocs.harness.io/openapi-merged/cloud-cost-autostopping-rules/toggleautostoppingrule.md): Disables or enables an Autostopping Rule for the given identifier.