# Return savings details for an AutoStopping Rule

Retrieves detailed cost savings data for a specific AutoStopping Rule grouped by day over the specified time period.

Endpoint: GET /gateway/lw/api/accounts/{account_id}/autostopping/rules/{rule_id}/savings
Version: 1.0
Security: x-api-key

## Path parameters:

  - `account_id` (string, required)
    Account Identifier for the Entity
    Example: "abc12_DEFgh-ijkLMNOPqr"

  - `rule_id` (number, required)
    Unique identifier of the AutoStopping Rule for which you want to fetch savings details
    Example: 12345

## Query parameters:

  - `accountIdentifier` (string, required)
    Account Identifier for authentication and authorization.
    Example: "abc12_DEFgh-ijkLMNOPqr"

  - `from` (string)
    Start date for the savings calculation period. Accepts YYYY-MM-DD format (e.g., 2024-01-01) or ISO 8601/RFC3339 format (e.g., 2024-01-01T00:00:00Z).
    Example: "2024-01-01"

  - `to` (string)
    End date for the savings calculation period. Accepts YYYY-MM-DD format (e.g., 2024-01-31) or ISO 8601/RFC3339 format (e.g., 2024-01-31T23:59:59Z).
    Example: "2024-01-31"

  - `group_by` (string)
    Optional parameter to group savings data by specific dimensions such as 'day', 'week', or 'month'.
    Example: "day"


## Response 400 fields
