---
title: "WASI Support | wasmCloud"
description: "WASI API support reference for wasmCloud: supported imports, exports, and interface versions."
canonical: "https://wasmcloud.com/docs/v1/reference/wasi/support/"
---

This is documentation for wasmCloud **v1**, which is no longer actively maintained.

For up-to-date documentation, see the **[latest version](https://wasmcloud.com/docs/)** (v2).

Version: v1

# WASI Support

> **Info**
>
> The WASI support pages regarding imports and exports below were autogenerated from the [wasmcloud runtime](https://github.com/wasmCloud/wasmCloud/tree/main/crates/runtime) crate using [wit-bindgen](https://github.com/bytecodealliance/wit-bindgen). The autogenerated pages were last updated as of the [v1.4.0](https://github.com/wasmCloud/wasmCloud/releases/tag/v1.4.0) release.

## Inspecting a component

wasmCloud supports many WASI APIs out of the box. Any WebAssembly component that uses these APIs will work with wasmCloud, regardless of the source language. Thanks to the embedded [wit](https://wasmcloud.com/docs/v1/hosts/abis/components/) in each component, you can see what APIs a component uses by running `wash inspect --wit <component_reference>` with either a file or OCI reference.

Inspecting the component from the [Hello World](https://wasmcloud.com/docs/v1/tour/hello-world/) example shows the following imports and exports:

bash

```bash
wash inspect --wit ghcr.io/wasmcloud/components/http-hello-world-rust:0.1.0
```

wit

```wit
package root:component;

world root {
  import wasi:io/error@0.2.0;
  import wasi:io/streams@0.2.0;
  import wasi:http/types@0.2.0;
  import wasi:cli/environment@0.2.0;
  import wasi:cli/exit@0.2.0;
  import wasi:cli/stdin@0.2.0;
  import wasi:cli/stdout@0.2.0;
  import wasi:cli/stderr@0.2.0;
  import wasi:clocks/wall-clock@0.2.0;
  import wasi:filesystem/types@0.2.0;
  import wasi:filesystem/preopens@0.2.0;

  export wasi:http/incoming-handler@0.2.0;
}
```

## Imports

When looking at a [component](https://wasmcloud.com/docs/v1/concepts/components/)'s wit world, like in the above example, you'll see a list of imports. Each import here needs to be exported by the [host](https://wasmcloud.com/docs/v1/concepts/hosts/), which in our case is wasmCloud. You can see a list of supported imports by checking the [messaging-handler](https://wasmcloud.com/docs/v1/reference/wasi/messaging-handler/), [logging](https://wasmcloud.com/docs/v1/reference/wasi/logging/), and [incoming-http](https://wasmcloud.com/docs/v1/reference/wasi/incoming-http/) pages.

## Exports

Just like imports, each export in the wit world needs to be imported by the host in order to satisfy the component's requirements. You can see a list of supported exports by checking the [interfaces](https://wasmcloud.com/docs/v1/reference/wasi/interfaces/) page.

Last updated on **Jun 10, 2026** by **Liam Randall**
