# Manage Versions

You can list, inspect, and export dataset versions from the command line.

## List Versions

```bash
roboflow version list -p <project>
```

Example:

```bash
roboflow version list -p my-detector
```

```
ID                              NAME              IMAGES  CREATED
my-workspace/my-detector/1      raw               100     2024-01-15
my-workspace/my-detector/2      augmented-640     300     2024-01-20
my-workspace/my-detector/3      augmented-416     250     2024-02-01
```

## Get Version Details

```bash
roboflow version get -p <project> <version-number>
```

Or use resource shorthand:

```bash
roboflow version get my-detector/3
roboflow version get my-workspace/my-detector/3
```

## Export a Version

Trigger an async export of a version in a specific format:

```bash
roboflow version export -p <project> <version-number> -f <format>
```

Example:

```bash
roboflow version export -p my-detector 3 -f yolov8
```

## JSON Output

All version commands support `--json`:

```bash
roboflow version list -p my-detector --json
```

```json
[
  {
    "id": "my-workspace/my-detector/1",
    "name": "raw",
    "images": 100,
    "created": "2024-01-15T00:00:00"
  }
]
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/developer/command-line-interface/manage-versions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
