---
updatedAt: 2026-06-22T08:36:57.000Z
agentTools:
  projectIndex: https://docs.umbrellacost.io/llms.txt
---

# Get Instance Types

The list of instance types is used in EC2 recommendation preferences:

* EC2 Generation upgrade
* EC2 Right Sizing

<br />

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Preferences Public API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://api.umbrellacost.io"
    }
  ],
  "paths": {
    "/api/v1/users/preferences/instance-types": {
      "get": {
        "tags": [
          "default"
        ],
        "summary": "Get Instance Types",
        "description": "",
        "parameters": [
          {
            "in": "header",
            "name": "apikey",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "header",
            "name": "Authorization",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {}
            }
          }
        },
        "x-readme": {
          "code-samples": [
            {
              "code": "curl --location --request GET 'https://api.umbrellacost.io/api/v1/users/preferences/instance-types \\\n--header '{{account-api-key}}' \\\n--header 'Authorization: {{bearer-token}}' \\",
              "language": "shell",
              "name": ""
            }
          ],
          "samples-languages": [
            "shell"
          ]
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```