Authorizations
In the form Bearer <api_key_here>
. You can find your api key in your dashboard.
Body
application/json
Updates 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
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.
The AI model ID to use for the agent.