Skip to main content
Creates a new provider configuration for an existing assistant. Use this operation to create a new assistant version backed by a model, AgentKit, or WebSocket provider. The new provider is created as a version candidate. Promote it with Update assistant version when you want the assistant to use it for live traffic.
For setup and authentication options, see the Installation guide and Authentication.

Parameters

ConnectionConfig
required
Configuration for the client connection.
CreateAssistantProviderRequest
required
Provider configuration for an existing assistant. Provide exactly one of model, agentkit, or websocket.

Usage

Response

int32
Numeric status code for the operation.
boolean
Indicates whether the operation was successful.
AssistantProviderModel
Returned when you create a model-backed provider version.
AssistantProviderAgentkit
Returned when you create an AgentKit provider version.
AssistantProviderWebsocket
Returned when you create a WebSocket provider version.
Error
Error details when the operation fails.