Skip to main content

Returns

Returns a Version object for the given parameters, or None if an error occurs.

Example

Parameters

string
required
The name of the version.
string
required
The ID of the product you want to create a version for.
string
A textual description of the version.
string
The system prompt used with the model for this version.
string
Reference to a model configured in the Galtea Platform, used for cost tracking on this version’s inference results.
Use the Model service to look up an existing model by name and pass its id to versions.create:
See galtea.models.get_by_name or galtea.models.list for other ways to discover existing models.
string
Description of the dataset used for training or fine-tuning.
string
A URI pointing to the dataset.
string
The ID of the Endpoint Connection used for conversational interactions with your AI product.
string
The ID of the Endpoint Connection executed before the conversation begins. Used to initialize a session and obtain a session ID. See Version Endpoint Connections for more details.
string
The ID of the Endpoint Connection executed after the conversation ends. Used to clean up resources.
string
The ID of the Phone Connection Galtea dials to reach your AI agent over the phone. A version’s conversation target is mutually exclusive: provide one of a phone connection, a WebRTC connection (web_rtc_connection_id), or an endpoint connection (conversation_endpoint_connection_id), never more than one.
string
The ID of the WebRTC Connection Galtea uses to reach your AI agent over WebRTC. A version’s conversation target is mutually exclusive: provide one of a WebRTC connection, a phone connection (phone_connection_id), or an endpoint connection (conversation_endpoint_connection_id), never more than one.
string
Deprecated. Use conversation_endpoint_connection_id instead.
Legacy parameter maintained for backwards compatibility. Maps to conversation_endpoint_connection_id.
string
Configuration or description of safety guardrails applied.
string
The ID of the parent version this version is iterated from. Setting it makes the new version a revision of the parent and records the lineage. The parent must belong to the same product. Leave it empty to create a root version. See Version Lineage for details.