Skip to main content
The parent of a revision is set when the version is created, with parent_version_id on versions.create, and cannot change.

Returns

Returns the updated Version object.

Example

Parameters

string
required
ID of the version to update.
string
New name for the version. A name of v followed by digits is reserved for a version number, so the platform accepts it only when it is this version’s own label.
string
New version description.
string
New system prompt used for the version.
string
New reference to a model configured in the Galtea Platform. It must be one of your organization’s models or a global model. None clears the model.
string
New description of the dataset used for training.
string
New URI to the dataset.
string
New configuration for safety guardrails.
dict[str, str]
New facts: the agent state this version represents, as a flat map of text to text. Two live versions of one product cannot hold the same facts. When the version has no model and you send no model_id, a model fact links the model.
dict
New rule that recovers the user-visible reply from a non-LLM span.
dict
New rule that recovers the user message from a non-LLM span.
string
New endpoint connection used for conversational interactions with your AI product.
string
New endpoint connection executed before the conversation begins.
string
New endpoint connection executed after the conversation ends.
string
New phone connection used for voice interactions with your AI product.
string
New WebRTC connection used for voice interactions with your AI product.
All fields except version_id default to PydanticUndefined (from pydantic_core). Omit a field (or pass PydanticUndefined) to leave it unchanged. Pass None to explicitly clear an optional field. Pass a value to update it.