Is it possible to use the API to patch
# general-english
b
Is it possible to use the API to patch only specific fields instead of updating the entire assistant? For example, can I leave the assistant itself intact and update only the tool id’s?
l
per vapi you can do this by passing tool during assistant overide { "assistantId": "your-assistant-id", "assistantOverrides": { "tools": [ { "type": "function", "name": "check_inventory", "description": "Check product inventory for the customer's specific region", "parameters": { "type": "object", "properties": { "productId": { "type": "string", "description": "The product ID to check" }, "region": { "type": "string", "description": "Customer's region code" } }, "required": ["productId", "region"] }, "server": { "url": "https://api.customer-integration.com/inventory", "secret": "customer-webhook-secret", "timeoutSeconds": 30 } } ] } }
b
Im working on a customer portal and what I did is: create an assistant using my portal. When my customer updates the context or whatever I first get the assistent json, add the new data to the json, remove the id, created, updates fields and patch the assistent. Done.
So now my clients can only update the context, firstmessage and name of the assistant. The other settings are managed by me.
But it would be nice if you can update specific keys in the json when creating an assistant
s
@brambruning @Chris @Louis what's the issue that you are running into?
b
I had problems with receiving traffic from vapi (aws) to leaseweb. No websocket or bad packets
Audio to vapi was good
l
Assistants are not responding after a random amount of time This is affecting most of our calls but not all It is like deepgram is having an outage
s
can you share the call_id?
call_id pls
l
6cd90fd5-607e-4656-822f-41fb24fe8686 196e2e9e-cdf0-43d0-8d6b-1ec21b8b62f4 744a8c93-f3e2-4c99-8c20-705881660ea4
transcripts do not match up with the call recordings
30368213-7f56-4703-8273-0a20b3e5b43b
s
seems like coming from deepgram.
raising a ticket on their end.
l
Thank you. Please keep us up to date
s
it is resolved
2 Views