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

# Version Service

> Version Service API methods in the Galtea SDK

The Version Service in the Galtea SDK allows you to manage different iterations of your [products](/concepts/product) through [versions](/concepts/product/version).
This Service is exposed by the `galtea.versions` object.

<Info>
  Remember that we will be using the `galtea` object. More information [here](/sdk/api/galtea).
</Info>

## Quick Example

First, initialize the Galtea SDK:

```python theme={"system"}
galtea = Galtea(api_key="YOUR_API_KEY")
```

Create a version:

```python theme={"system"}
version = galtea.versions.create(
    name=version_name,
    product_id=product_id,
    description="Demo version created via SDK",
)
```

List versions for a product:

```python theme={"system"}
versions = galtea.versions.list(product_id=product_id, limit=5)
```

Get a version by ID:

```python theme={"system"}
version = galtea.versions.get(version_id=version_id)
```

## Service Methods

* [Create Version](/sdk/api/version/create)
* [Listing Versions](/sdk/api/version/list)
* [Retrieving Version](/sdk/api/version/get)
* [Retrieving Version By Name](/sdk/api/version/get-by-name)
* [Deleting Version](/sdk/api/version/delete)

## Related

<Card title="Version" icon="code-branch" iconType="solid" href="/concepts/product/version">
  A specific iteration of a product
</Card>
