WasmEdge · Schema

WasmEdge Configuration

Schema for WasmEdge runtime configuration, covering statistics, compiler (AoT) settings, and runtime behavior options

Cloud-NativeCNCFEdge ComputingHigh PerformanceRuntimeServerlessWasmWebAssembly

Properties

Name Type Description
statistics object Runtime statistics and instrumentation settings
compiler object Ahead-of-Time (AoT) compiler configuration
runtime object Runtime execution settings
plugins array List of plugin libraries to load at startup
View JSON Schema on GitHub

JSON Schema

wasmedge-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://wasmedge.org/schemas/config.json",
  "title": "WasmEdge Configuration",
  "description": "Schema for WasmEdge runtime configuration, covering statistics, compiler (AoT) settings, and runtime behavior options",
  "type": "object",
  "properties": {
    "statistics": {
      "type": "object",
      "description": "Runtime statistics and instrumentation settings",
      "properties": {
        "instructionCounting": {
          "type": "boolean",
          "default": false,
          "description": "Enable WebAssembly instruction counting for profiling"
        },
        "costMeasuring": {
          "type": "boolean",
          "default": false,
          "description": "Enable gas/cost metering for resource limiting"
        },
        "timeMeasuring": {
          "type": "boolean",
          "default": false,
          "description": "Enable execution time measurement"
        }
      }
    },
    "compiler": {
      "type": "object",
      "description": "Ahead-of-Time (AoT) compiler configuration",
      "properties": {
        "optLevel": {
          "type": "string",
          "enum": ["O0", "O1", "O2", "O3", "Os", "Oz"],
          "default": "O3",
          "description": "LLVM optimization level for AoT compilation"
        },
        "dumpIR": {
          "type": "boolean",
          "default": false,
          "description": "Dump LLVM IR after compilation for debugging"
        },
        "genericBinary": {
          "type": "boolean",
          "default": false,
          "description": "Generate generic (non-native) binary for portability"
        },
        "interruptible": {
          "type": "boolean",
          "default": false,
          "description": "Enable interruptible execution support"
        }
      }
    },
    "runtime": {
      "type": "object",
      "description": "Runtime execution settings",
      "properties": {
        "maxMemoryPage": {
          "type": "integer",
          "minimum": 1,
          "default": 65536,
          "description": "Maximum allowed WebAssembly memory pages (64KB each)"
        }
      }
    },
    "plugins": {
      "type": "array",
      "description": "List of plugin libraries to load at startup",
      "items": {
        "type": "object",
        "required": ["name"],
        "properties": {
          "name": {
            "type": "string",
            "description": "Plugin name (e.g., wasi_nn, wasi_crypto)"
          },
          "path": {
            "type": "string",
            "description": "Optional path to the plugin shared library"
          }
        }
      }
    }
  }
}

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/wasmedge-config"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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