---
title: "version.preview: View version — Design kit command — Kition"
description: "Shows the design a saved version holds (the snapshot its checkpoint carries) on the canvas read-only in place of the document; version.exitPreview goes back."
canonical: "https://developer.kition.ai/docs/kits/design/commands/version.preview"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/design/commands/version.preview](https://developer.kition.ai/docs/kits/design/commands/version.preview)

# version.preview

**View version.** Shows the design a saved version holds (the snapshot its checkpoint carries) on the canvas read-only in place of the document; version.exitPreview goes back.

- Kit: Design 0.1.0 (.kdesign); reference: [Design kit commands](https://developer.kition.ai/docs/kits/design.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | no |  |
| `name` | `string` | no |  |
| `snapshot` | `any` | no | base64 |
| `time` | `number` | no | the host's checkpoint, shown in the banner |

## Call through design_run

```text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "version.preview" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `id`, `name`, `snapshot`, `time`. design_run answers the step’s result in `completed[i].result`.

## Result



```json
{}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "snapshot": {
      "description": "base64"
    },
    "time": {
      "description": "the host's checkpoint, shown in the banner",
      "type": "number"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/design-darwin-arm64@0.1.0 and the kit itself (design_commands through @kition/cli@0.1.1, built from KitionAI/kition-design@abc7e16).
