Firecracker · Schema

MachineConfiguration

Describes the number of vCPUs, memory size, SMT capabilities, huge page configuration and the CPU template.

Amazon Web ServicesContainersMicroVMOpen SourceServerlessVirtualizationKVM

Properties

Name Type Description
cpu_template object
smt boolean Flag for enabling/disabling simultaneous multithreading. Can be enabled only on x86.
mem_size_mib integer Memory size of VM
track_dirty_pages boolean Enable dirty page tracking. If this is enabled, then incremental guest memory snapshots can be created. These belong to diff snapshots, which contain, besides the microVM state, only the memory dirtie
vcpu_count integer Number of vCPUs (either 1 or an even number)
huge_pages string Which huge pages configuration (if any) should be used to back guest memory.
View JSON Schema on GitHub

JSON Schema

firecracker-machine-configuration-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/firecracker/json-schema/firecracker-machine-configuration-schema.json",
  "title": "MachineConfiguration",
  "description": "Describes the number of vCPUs, memory size, SMT capabilities, huge page configuration and the CPU template.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/firecracker-machine-config-api-openapi.yml#/components/schemas/MachineConfiguration",
  "type": "object",
  "required": [
    "mem_size_mib",
    "vcpu_count"
  ],
  "properties": {
    "cpu_template": {
      "$ref": "#/$defs/CpuTemplate"
    },
    "smt": {
      "type": "boolean",
      "description": "Flag for enabling/disabling simultaneous multithreading. Can be enabled only on x86.",
      "default": false
    },
    "mem_size_mib": {
      "type": "integer",
      "description": "Memory size of VM"
    },
    "track_dirty_pages": {
      "type": "boolean",
      "description": "Enable dirty page tracking. If this is enabled, then incremental guest memory snapshots can be created. These belong to diff snapshots, which contain, besides the microVM state, only the memory dirtied since a previous snapshot. Full snapshots each contain a full copy of the guest memory.",
      "default": false
    },
    "vcpu_count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32,
      "description": "Number of vCPUs (either 1 or an even number)"
    },
    "huge_pages": {
      "type": "string",
      "enum": [
        "None",
        "2M"
      ],
      "description": "Which huge pages configuration (if any) should be used to back guest memory."
    }
  },
  "$defs": {
    "CpuTemplate": {
      "type": "string",
      "description": "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. This parameter has been deprecated and it will be removed in future Firecracker release.",
      "enum": [
        "C3",
        "T2",
        "T2S",
        "T2CL",
        "T2A",
        "V1N1",
        "None"
      ],
      "default": "None"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/firecracker-machine-configuration"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.