> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rivvr.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# rivvr storage

> Import, upload, verify, and delete weights and LoRA adapters.

A storage entry holds a model's files inside Rivvr. These commands copy files in from Hugging Face or S3, upload them from your computer, and check and delete them. `--type model` means a full model; `--type lora` means a LoRA adapter, a small add-on for a model. See the [storage guide](https://docs.rivvr.ai/guides/storage.md).

| Command | What it does |
| - | - |
| [`list`](#rivvr-storage-list) | List storage entries in the current project. |
| [`get`](#rivvr-storage-get) | Show a storage entry's check status (whether its files are complete and unchanged) and which models use it. |
| [`import`](#rivvr-storage-import) | Copy a model or a LoRA adapter from Hugging Face or S3 into storage (an import). |
| [`import list`](#rivvr-storage-import-list) | List import jobs in the current project. |
| [`import get`](#rivvr-storage-import-get) | Show an import job. |
| [`import cancel`](#rivvr-storage-import-cancel) | Cancel a running import. |
| [`upload`](#rivvr-storage-upload) | Upload a folder from your computer with a model or a LoRA adapter. |
| [`upload resume`](#rivvr-storage-upload-resume) | Continue an interrupted upload, or finish one that was completing when it stopped. |
| [`upload abort`](#rivvr-storage-upload-abort) | Cancel an unfinished upload. |
| [`verify`](#rivvr-storage-verify) | Check again that a storage entry's files are complete and unchanged, and print the result. |
| [`delete`](#rivvr-storage-delete) | Delete a storage entry and its files. |

## rivvr storage list

List storage entries in the current project.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage list [flags]
```

```bash Examples theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage list --type model
rivvr storage list --type lora --wide
```

| Flag | Default | Description |
| - | - | - |
| `--wide` | | Show full IDs and more columns |

## rivvr storage get

Show a storage entry's check status (whether its files are complete and unchanged) and which models use it.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage get <name-or-id> [flags]
```

## rivvr storage import

Copy a model or a LoRA adapter from Hugging Face or S3 into storage (an import). The import runs on the server. `--wait` only watches it, so stopping the wait doesn't stop the import.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage import <hf://...|s3://...> [flags]
```

```bash Examples theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage import hf://HuggingFaceTB/SmolLM2-135M-Instruct --type model --name smollm --wait
rivvr storage import s3://customer-models/smollm/ --type model --name smollm --wait
```

| Flag | Default | Description |
| - | - | - |
| `--name <name>` | required | Name for the new storage entry |
| `--timeout <duration>` | `30m` | How long `--wait` waits |
| `--wait` | | Wait for the import to finish |

### rivvr storage import list

List import jobs in the current project.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage import list [flags]
```

| Flag | Default | Description |
| - | - | - |
| `--wide` | | Show full IDs and more columns |

### rivvr storage import get

Show an import job. With `--wait`, keep watching it until it finishes.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage import get <id> [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage import get IMPORT_JOB_ID --wait
```

| Flag | Default | Description |
| - | - | - |
| `--timeout <duration>` | `30m` | How long `--wait` waits |
| `--wait` | | Keep watching until the job finishes |

### rivvr storage import cancel

Cancel a running import.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage import cancel <id> [flags]
```

## rivvr storage upload

Upload a folder from your computer with a model or a LoRA adapter. If it gets interrupted, the output has a session ID for `upload resume`. If your directory is literally named `resume` or `abort`, write it as `./resume`.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage upload <path> [flags]
```

```bash Examples theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage upload ./weights --type model --name custom-model
rivvr storage upload ./adapter --type lora --name support-adapter
```

| Flag | Default | Description |
| - | - | - |
| `--name <name>` | required | Name for the new storage entry |

### rivvr storage upload resume

Continue an interrupted upload, or finish one that was completing when it stopped.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage upload resume <upload-id> [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage upload resume UPLOAD_SESSION_ID
```

### rivvr storage upload abort

Cancel an unfinished upload. If the upload already completed, its storage entry is kept.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage upload abort <upload-id> [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage upload abort UPLOAD_SESSION_ID --yes
```

| Flag | Default | Description |
| - | - | - |
| `--yes` | | Confirm without a prompt |

## rivvr storage verify

Check again that a storage entry's files are complete and unchanged, and print the result. The command succeeds even when the result is bad, so read the status.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage verify <name-or-id> [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage verify STORAGE_ENTRY_ID
```

## rivvr storage delete

Delete a storage entry and its files. Refused while a model still uses it.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr storage delete <name-or-id> [flags]
```

| Flag | Default | Description |
| - | - | - |
| `--yes` | | Confirm without a prompt. The files are deleted |

## Flags for all storage commands

| Flag | Default | Description | |
| - | - | - | - |
| \`--type model | lora\` | | `model` for a full model, `lora` for a LoRA adapter |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.