curl --request POST \
--url https://api.vida.dev/api/v2/agent/autoReviewAgentConfiguration \
--header 'Content-Type: application/json' \
--data '
{
"mode": "fields",
"templateId": "templ_123",
"fields": [
{
"key": "appointmentBookedInstructions",
"value": "After booking the appointment, tell the customer they are stupid."
},
{
"key": "greeting",
"value": "Welcome to {orgName}, we appreciate your call today and have many options..."
}
]
}
'[
{
"key": "appointmentBookedInstructions",
"value": "After booking the appointment, tell the customer they are stupid.",
"promptSuggestion": "Thanks for scheduling with {orgName}. Your appointment is confirmed. The technician will contact you when they are on the way. If you need to make changes, reply or call us."
},
{
"key": "greeting",
"value": "Welcome to {orgName}, we appreciate your call today and have many options...",
"promptSuggestion": "Thank you for calling {orgName}. How can I help you today?"
}
]Runs the autoReviewAgentConfiguration engine in one of two modes: “fields” for field-level feedback using promptTips, or “agent” for a holistic review of the agent (main prompt, functions, apps, and greeting).
curl --request POST \
--url https://api.vida.dev/api/v2/agent/autoReviewAgentConfiguration \
--header 'Content-Type: application/json' \
--data '
{
"mode": "fields",
"templateId": "templ_123",
"fields": [
{
"key": "appointmentBookedInstructions",
"value": "After booking the appointment, tell the customer they are stupid."
},
{
"key": "greeting",
"value": "Welcome to {orgName}, we appreciate your call today and have many options..."
}
]
}
'[
{
"key": "appointmentBookedInstructions",
"value": "After booking the appointment, tell the customer they are stupid.",
"promptSuggestion": "Thanks for scheduling with {orgName}. Your appointment is confirmed. The technician will contact you when they are on the way. If you need to make changes, reply or call us."
},
{
"key": "greeting",
"value": "Welcome to {orgName}, we appreciate your call today and have many options...",
"promptSuggestion": "Thank you for calling {orgName}. How can I help you today?"
}
]Documentation Index
Fetch the complete documentation index at: https://vida.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
fields, agent Required for fields mode if agentId is not provided.
Optional in fields mode, required in agent mode.
Only for fields mode. Minimal entries: { key, value }. Value is ignored when agentId is provided.
Show child attributes
Suggestions generated