Triggered when an AI agent is updated or modified or changed
{
"eventId": "evt_01234567890abcdef",
"eventType": "agent.updated",
"payload": {
"id": "agent_1234567890abcdef",
"name": "Advanced Customer Support Agent",
"workspaceId": "ws_1234567890abcdef",
"userId": "user_1234567890abcdef",
"systemPrompt": "You are an advanced customer support assistant with expertise in technical issues. Be helpful, professional, and provide detailed solutions.",
"initiationMessage": "Hello! I'm your upgraded support assistant. How can I help you solve your technical questions today?",
"initiationType": "AI Speaks First - Fixed",
"endCallEnabled": true,
"endCallDescription": "I hope I was able to resolve your issue. Feel free to reach out anytime!",
"endCallInterruptionWordThreshold": 10,
"endCallWaitingDurationMs": 10000,
"scorecardEvaluationSamplingPercentage": 5,
"createdAt": "2023-01-01T12:00:00.000Z",
"updatedAt": "2023-01-01T12:00:00.000Z",
"isArchived": false
}
}{
"eventId": "evt_01234567890abcdef",
"eventType": "agent.updated",
"payload": {
"id": "agent_1234567890abcdef",
"name": "Advanced Customer Support Agent",
"workspaceId": "ws_1234567890abcdef",
"userId": "user_1234567890abcdef",
"systemPrompt": "You are an advanced customer support assistant with expertise in technical issues. Be helpful, professional, and provide detailed solutions.",
"initiationMessage": "Hello! I'm your upgraded support assistant. How can I help you solve your technical questions today?",
"initiationType": "AI Speaks First - Fixed",
"endCallEnabled": true,
"endCallDescription": "I hope I was able to resolve your issue. Feel free to reach out anytime!",
"endCallInterruptionWordThreshold": 10,
"endCallWaitingDurationMs": 10000,
"scorecardEvaluationSamplingPercentage": 5,
"createdAt": "2023-01-01T12:00:00.000Z",
"updatedAt": "2023-01-01T12:00:00.000Z",
"isArchived": false
}
}