# Space

URL: https://docs.hanzo.ai/docs/cli/space

> The `hanzo space` commands.

Also for this capability: [API](https://docs.hanzo.ai/docs/openapi/space) · **CLI** · [MCP](https://docs.hanzo.ai/docs/mcp-tools/space) · [SDKs](https://docs.hanzo.ai/docs/sdks)

Where work lives: drives, folders and the files in them.

[API reference →](https://docs.hanzo.ai/docs/openapi/space)

```bash
hanzo space health
```

Every command takes `--json` for the raw response and `--help` for its own flags. Sign in once with `hanzo auth login`; the commands below use that session, and the org they act in is the one it carries.

| Command              | What it does                                                        |
| -------------------- | ------------------------------------------------------------------- |
| `hanzo space health` | Reports whether this deployment can serve spaces, drives and files. |

### Drives

| Command                                    | What it does                                          |
| ------------------------------------------ | ----------------------------------------------------- |
| `hanzo space drives create <space>`        | Makes a new drive in a space and answers 201 with it. |
| `hanzo space drives files <space> <drive>` | Lists one folder level of a drive.                    |
| `hanzo space drives list <space>`          | Lists a space's drives.                               |
| `hanzo space drives rm <space> <drive>`    | Removes an EMPTY drive and answers 204.               |

### Spaces

| Command                     | What it does                                                    |
| --------------------------- | --------------------------------------------------------------- |
| `hanzo space spaces create` | Makes a new space for the caller's org and answers 201 with it. |
| `hanzo space spaces get`    | Lists the caller org's own spaces.                              |
