---
title: "GET /api/v1/providers/openstack/sizes"
method: GET
path: "/api/v1/providers/openstack/sizes"
tags: ["openstack"]
---

# GET /api/v1/providers/openstack/sizes

`GET /api/v1/providers/openstack/sizes`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/docs/api/v1/providers/openstack/sizes/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists sizes from openstack

## Headers

- `Username` string
- `Password` string
- `Domain` string
- `Tenant` string
- `TenantID` string
- `DatacenterName` string
- `ApplicationCredentialID` string
- `ApplicationCredentialSecret` string
- `OIDCAuthentication` boolean
- `Credential` string

## Response `200`

OpenstackSize

- OpenstackSize[]
  - `disk` integer: Disk is the amount of root disk, measured in GB
  - `isPublic` boolean: IsPublic indicates whether the size is public (available to all projects) or scoped to a set of projects
  - `memory` integer: MemoryTotalBytes is the amount of memory, measured in MB
  - `region` string: Region specifies the geographic region in which the size resides
  - `slug` string: Slug holds the name of the size
  - `swap` integer: Swap is the amount of swap space, measured in MB
  - `vcpus` integer: VCPUs indicates how many (virtual) CPUs are available for this flavor

## Other responses

- `default`: errorResponse

---

[API](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api.md) - [All operations](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/revisions/815b9bf19db5?raw)
