GET
/
agents
/
{agentId}
/
versioned_prompts
/
{id}

Path Parameters

agentId
string
required

ID of the agent.

id
string
required

ID of the versioned prompt.

Response

200 - application/json
agentType
enum<string>
required

The type of agent this prompt is designed for (STANDARD or CUSTOM_FLOW)

Available options:
STANDARD,
CUSTOM_FLOW
id
string
required

Unique identifier for the versioned prompt

name
string
required

Human-readable name for the versioned prompt

prompt
string | null
required

The actual prompt content that will be used by the agent. Can be null for CUSTOM_FLOW agent types

flowDefinition
object

The flow definition for the agent. Only defined for CUSTOM_FLOW agent types.