Update versioned prompt
Updates a versioned prompt for a given agent.
Body
The ID of the model to use.
The type of agent that this prompt represents.
STANDARD
, CUSTOM_FLOW
For agents with agentType CUSTOM_FLOW, the flow definition that you want to use.
A configuration value for the model. You can get a list of available models and their configuration values from /models. All configuration values, with defaults will be returned when you retrieve a versioned prompt.
Response
Unique identifier for the versioned prompt
Human-readable name for the versioned prompt
The type of agent this prompt is designed for (STANDARD or CUSTOM_FLOW)
STANDARD
, CUSTOM_FLOW
The actual prompt content that will be used by the agent. Can be null for CUSTOM_FLOW agent types
The flow definition for the agent. Only defined for CUSTOM_FLOW agent types.
A configuration value for the model. You can get a list of available models and their configuration values from /models. All configuration values, with defaults will be returned when you retrieve a versioned prompt.