OGOnkel
07/11/2024, 4:19 PMVapi
07/11/2024, 4:20 PM/credential endpoint to POST your server’s API key and URL.
Here's how you can do it:
1. Prepare your server's API key and the URL for the OpenAI-compatible endpoint.
2. Use the /credential endpoint to submit your API key and URL in the following format:
json
{
"provider": "custom-llm",
"apiKey": "YOUR_API_KEY_HERE"
}
Once you've done this, your server will be authenticated, and you can start making requests to your custom model through VAPI without needing to manually add the 'Authorization' header each time.
If you need any further assistance or have additional questions, please let me know!Vapi
07/11/2024, 4:20 PMShubham Bajaj
07/11/2024, 4:27 PMOGOnkel
07/15/2024, 9:15 PMOGOnkel
07/16/2024, 4:16 PMShubham Bajaj
07/16/2024, 8:54 PMOGOnkel
07/17/2024, 2:42 PMShubham Bajaj
07/17/2024, 3:16 PMOGOnkel
07/17/2024, 3:18 PMShubham Bajaj
07/18/2024, 3:02 PM