Skip to main content

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.

The Version Service in the Galtea SDK allows you to manage different iterations of your products through versions. This Service is exposed by the galtea.versions object.
Remember that we will be using the galtea object. More information here.

Quick Example

First, initialize the Galtea SDK:
galtea = Galtea(api_key="YOUR_API_KEY")
Create a version:
version = galtea.versions.create(
    name=version_name,
    product_id=product_id,
    description="Demo version created via SDK",
)
List versions for a product:
versions = galtea.versions.list(product_id=product_id, limit=5)
Get a version by ID:
version = galtea.versions.get(version_id=version_id)

Service Methods

Version

A specific iteration of a product