Server SDK - pull all available models
# support
m
Hi team, how do you pull all available models for the drop down for transcriber and voice on the server SDK? Or via API?
v
@Manu Hello! To retrieve all available models for the transcriber dropdown in the server SDK or via API, you would typically make an API call to the endpoint provided by the transcription service you're using. For example, if you're using Deepgram, they have an API endpoint that lists all available models. Here's a general approach on how to do it: 1. **Check the documentation**: Refer to the transcription service's API documentation to find the specific endpoint that lists the available models. 2. **API Call**: Make a GET request to that endpoint. The request might look something like this in pseudocode:
Copy code
pseudocode
GET /models
Host: api.transcriptionprovider.com
Authorization: Bearer your_api_key
3. **Handle the response**: The API will return a response with a list of available models, which you can then populate into your dropdown. If you're using a specific transcription service and need the exact details on how to make the API call, please provide the name of the service, and I can give you more tailored instructions. If you're using the VAPI server SDK, you might have a method available that abstracts this API call for you.
You can continue this conversation by mentioning me in the message.
s
@Manu We have stored all this information in our database. Using our API, you can access this information. You can find the API documentation here: https://api.vapi.ai/api-json#