---
title: "List All Elastigroups"
method: GET
path: "/aws/ec2/group"
tags: ["Elastigroup AWS"]
---

# List All Elastigroups

`GET /aws/ec2/group`

List all AWS Elastigroups for a Spot Account

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Response `200`

List All Groups Response

- object
  - `request` object — Original request properties
    - `id` string — Unique ID associated with this request
    - `url` string — The URL that was used for the request
    - `method` string — The HTTP **METHOD** used for the request
    - `timestamp` string — When the request was received by Spot
  - `response` object — Response package that includes, status, type and any relevant data.
    - `status` object
      - `code` integer — HTTP status code assigned to this response
      - `message` string — HTTP status message for the respective status code
    - `kind` string — The data type of each item in the response
    - `items` union[] — Array of data objects
      - union
        - object
          - `id` string — ID
          - `name` string — EG Name
          - `description` string — Description
          - `capacity` object — Capacity
            - `minimum` integer — Minimum Value
            - `maximum` integer — Maximum Value
            - `target` integer — Target Value
            - `unit` string — Unit
          - `strategy` object — Strategy
            - `risk` integer — Risk
            - `onDemandCount` string — On Demand Count
            - `availabilityVsCost` string — Availability VS Cost
          - `compute` object — Compute
            - `instanceTypes` object
              - …
            - `availabilityZones` object
              - …
            - `product` string — Operatin System
            - `launchSpecification` object
              - …
          - `scaling` object
            - `up` object
              - …
            - `down` object
              - …
          - `scheduling` object
            - `tasks` object[]
              - …
          - `thirdPartiesIntegration` object
          - `createdAt` string — Created At
          - `updatedAt` string — Updated At
        - object
          - `id` string — ID
          - `name` string — EG Name
          - `description` string — Description
          - `capacity` object — Capacity
            - `minimum` integer — Minimum Value
            - `maximum` integer — Maximum Value
            - `target` integer — Target Value
            - `unit` string — Unit
          - `strategy` object — Strategy
            - `risk` integer — Risk
            - `onDemandCount` string — On Demand Count
            - `availabilityVsCost` string — Availability VS Cost
          - `compute` object — Compute
            - `instanceTypes` object
              - …
            - `availabilityZones` object
              - …
            - `product` string — Operatin System
            - `launchSpecification` object
              - …
          - `scaling` object
            - `up` object
              - …
            - `down` object
              - …
          - `scheduling` object
            - `tasks` object[]
              - …
          - `thirdPartiesIntegration` object
          - `createdAt` string — Created At
          - `updatedAt` string — Updated At
    - `count` integer — Size of the data object array

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
