Versioned Prompts
Create versioned prompt
Creates a versioned prompt for a given agent.
POST
Path Parameters
ID of the agent.
Body
application/json
Creates a versioned prompt
The ID of the model to use.
The type of agent that this prompt represents.
Available options:
STANDARD
, CUSTOM_FLOW
For agents with agentType CUSTOM_FLOW, the flow definition that you want to use.
Response
200
application/json
Successful operation
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)
Available options:
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.