Hi
@TimG, yes, transient assistant will not help when you are dealing with webcalls and you do not want to send your prompts and other details to the client side. Could you look into websocket transport? This might require significant changes to your architecture if you are not already using websockets much. However, websocket transport will help you for this specific use case.
You can have the client make a call, the call request will be sent to your server -> then your server will take required information and create a transient assistant configuration, and send an API request to Vapi for initiating a call. -> Now Vapi returns you with a websocketCallUrl -> which you can then return it to the client side -> Now your client can directly connect to the websocket call.
This will prevent the you from exposing your prompts and tools to the client, and it will also reduce the API calls you make to Vapi, reducing your rate limiting errors.
For more information about it, please check out the websocket transport here:
https://docs.vapi.ai/calls/websocket-transport