Authorizations
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
Body
Override properties for conversation flow configuration in agent override requests.
The model choice for the conversation flow.
Who starts the conversation - user or agent.
user, agent "agent"
Array of nodes in the conversation flow.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
[
{
"id": "start",
"type": "conversation",
"instruction": {
"type": "prompt",
"text": "Greet the customer and ask how you can help them."
},
"edges": [
{
"id": "edge_1",
"transition_condition": {
"type": "prompt",
"prompt": "Customer wants to book appointment"
},
"destination_node_id": "book_appointment"
}
]
}
]Controls the randomness of the model's responses. Lower values make responses more deterministic.
0 <= x <= 10.7
Whether to use strict mode for tool calls. Only applicable when using certain supported models.
true
Knowledge base IDs for RAG (Retrieval-Augmented Generation).
["kb_001", "kb_002"]Knowledge base configuration for RAG retrieval.
If set, the AI will begin the conversation after waiting for the user for the duration (in milliseconds) specified by this attribute. This only applies if the agent is configured to wait for the user to speak first. If not set, the agent will wait indefinitely for the user to speak.
2000
Global prompt used in every node of the conversation flow.
"You are a helpful customer service agent."
Tools available in the conversation flow.
- Option 1
- Option 2
- Option 3
[
{
"type": "custom",
"name": "get_customer_info",
"description": "Get customer information from database",
"tool_id": "tool_001",
"url": "https://api.example.com/customer",
"method": "GET"
}
]Local components embedded within the conversation flow.
ID of the start node in the conversation flow.
"start"
Default dynamic variables that can be referenced throughout the conversation flow.
{
"company_name": "Retell Inc",
"support_hours": "9 AM - 5 PM"
}Display position for the begin tag in the frontend.
A list of MCP server configurations to use for this conversation flow.
Whether this conversation flow is used for transfer LLM.
false
Response
Successfully created a conversation flow
Override properties for conversation flow configuration in agent override requests.
Unique identifier for the conversation flow
Version number of the conversation flow
The model choice for the conversation flow.
Controls the randomness of the model's responses. Lower values make responses more deterministic.
0 <= x <= 10.7
Whether to use strict mode for tool calls. Only applicable when using certain supported models.
true
Knowledge base IDs for RAG (Retrieval-Augmented Generation).
["kb_001", "kb_002"]Knowledge base configuration for RAG retrieval.
Who starts the conversation - user or agent.
user, agent "agent"
If set, the AI will begin the conversation after waiting for the user for the duration (in milliseconds) specified by this attribute. This only applies if the agent is configured to wait for the user to speak first. If not set, the agent will wait indefinitely for the user to speak.
2000
Global prompt used in every node of the conversation flow.
"You are a helpful customer service agent."
Tools available in the conversation flow.
- Option 1
- Option 2
- Option 3
[
{
"type": "custom",
"name": "get_customer_info",
"description": "Get customer information from database",
"tool_id": "tool_001",
"url": "https://api.example.com/customer",
"method": "GET"
}
]Local components embedded within the conversation flow.
ID of the start node in the conversation flow.
"start"
Default dynamic variables that can be referenced throughout the conversation flow.
{
"company_name": "Retell Inc",
"support_hours": "9 AM - 5 PM"
}Display position for the begin tag in the frontend.
A list of MCP server configurations to use for this conversation flow.
Whether this conversation flow is used for transfer LLM.
false
Array of nodes in the conversation flow.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
[
{
"id": "start",
"type": "conversation",
"instruction": {
"type": "prompt",
"text": "Greet the customer and ask how you can help them."
},
"edges": [
{
"id": "edge_1",
"transition_condition": {
"type": "prompt",
"prompt": "Customer wants to book appointment"
},
"destination_node_id": "book_appointment"
}
]
}
]