100's of server messages since i use the assistant...
# support
s
Can anybody tell why? Thanks in advance @Vapi @Sahil @Arvind
v
Based on the information I found, when using assistants in a squad, you might need to explicitly configure the
serverMessages
parameter at the squad level. Try updating your squad configuration with:
Copy code
javascript
{
  "serverMessages": ["end-of-call-report"],
  "assistants": [
    // your assistants here
  ]
}
This should override the default server messages which include multiple types like conversation updates, status updates, and more. Sources: - [Vapi API Reference Assistants/Create](https://docs.vapi.ai/api-reference/assistants/create) - [Discord Channel Discussion](https://discord.com/channels/1211482211119796234/1341440757189578782)
s
@Vapi Support Bot Please explain exactly how and where to do so
v
Based on the information I found, you can configure the
serverMessages
parameter in your squad configuration using one of these methods: 1. If using the API, update your squad configuration with:
Copy code
javascript
{
  "serverMessages": ["end-of-call-report"],
  "members": [
    // your assistants here
  ]
}
2. If using the Vapi Dashboard, you might be able to modify this in the squad settings. Are you currently configuring your squad through the API or the Vapi Dashboard? This would help me provide more specific instructions. Source: - [Discord Channel Discussion](https://discord.com/channels/1211482211119796234/1341440757189578782)
s
@Vapi Support Bot vapi dashboard
v
Based on the information I found, to configure server messages in the Vapi Dashboard: 1. Go to Bot settingsAdvancedServer messages 2. Deselect all options except end-of-call-report Alternatively, you can try: 1. Navigate to Assistants in the navbar 2. Select your assistant 3. Go to Advanced tab 4. Scroll to the server messages section and deselect all except end-of-call-report Sources: - [Discord Channel Discussion](https://discord.com/channels/1211482211119796234/1341417477631901769) - [Discord Channel Discussion](https://discord.com/channels/1211482211119796234/1337184046379434057)
s
@Vapi Support Bot first solution: where exactly is "Bot settings" located? The alternative: Thats what obviously doesnt work.
v
I understand you're having trouble finding the "Bot settings" section and the alternative method isn't working for you. Could you tell me which section of the Vapi Dashboard you're currently in (e.g., Squads, Assistants, etc.)? This would help me provide more specific guidance on how to access the server message settings for your squad.
s
@Vapi Support Bot you should just tell me where it is. pretend i am in Assistants and then pretend i am in Squads
v
For Assistants section: 1. Navigate to Assistants in the navbar 2. Select your assistant 3. Go to Advanced tab 4. Scroll down to server messages section and deselect all except end-of-call-report For Squads section: Based on available information, try adding this configuration to your squad:
Copy code
javascript
{
  "serverMessages": ["end-of-call-report"]
}
Sources: - [Discord Channel Discussion](https://discord.com/channels/1211482211119796234/1337184046379434057) - [Discord Channel Discussion](https://discord.com/channels/1211482211119796234/1341417477631901769)
s
@Vapi Support Bot please give me a complete API call including the correct endpoint to update my squad
v
To limit server messages to only end-of-call reports, update your squad configuration with this API call:
Copy code
bash
curl -X PATCH https://api.vapi.ai/squad/YOUR_SQUAD_ID \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "membersOverrides": {
      "serverMessages": ["end-of-call-report"]
    }
  }'
Replace
YOUR_SQUAD_ID
and
YOUR_TOKEN
with your actual values. Sources: - [Vapi API endpoint for updating squad configuration](https://docs.vapi.ai/api-reference/squads/update) - [How to limit server messages to only end-of-call reports](https://discord.com/channels/1211482211119796234/1342410769232302122)
c
Checking in on this, is your issue resolved?
2 Views