---
title: "Gets the machine configuration of the VM."
method: GET
path: "/machine-config"
---

# Gets the machine configuration of the VM.

`GET /machine-config`

Gets the machine configuration of the VM. When called before the PUT operation, it will return the default values for the vCPU count (=1), memory size (=128 MiB). By default Hyperthreading is disabled and there is no CPU Template.

## Response `200`

OK

- MachineConfiguration — Describes the number of vCPUs, memory size, Hyperthreading capabilities and the CPU template.
  - `vcpu_count` integer — Number of vCPUs (either 1 or an even number)
  - `mem_size_mib` integer — Memory size of VM
  - `ht_enabled` boolean — Flag for enabling/disabling Hyperthreading
  - `cpu_template` 'C3' | 'T2' — The CPU Template defines a set of flags to be disabled from the microvm so that the features exposed to the guest are the same as in the selected instance type.

## Other responses

- `default` — Internal server error

---

[API](https://skmtc.dev/solo-io/apis/firecracker-api.md) · [All operations](https://skmtc.dev/solo-io/apis/firecracker-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/solo-io/firecracker-api/revisions/6e4082be4a32/schema)
