Insights Service

Potential Savings

Describe Potential Savings for AWS resources like - ASG (Auto-scaling groups), Beanstalk, ELB, ECS, EMR and tagged instances. The response will provide Potential monthly savings in USD

get/aws/potentialSavings

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/aws/potentialSavings
  • Auth
    HTTP bearer

Query parameters

accountIdstring

ID of the account associated with your token

Response

Potential Savings Response

Example response

{
  "request": {
    "url": "/aws/ec2/group/sig-12345/suspension",
    "method": "GET"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:cs:aws:potentialSavings",
    "items": [
      [
        {
          "resourceType": "Auto Scaling Group",
          "name": "Prod_ASG",
          "region": "us-west-1",
          "instances": 5,
          "potentialSavings": 2700
        }
      ]
    ],
    "count": 1
  }
}

Changes

No recorded changes to this operation across all 12 revisions of this API.