Javascript
import Morphik from 'morphik'; const client = new Morphik({ apiKey: 'My API Key', }); const models = await client.models.list(); console.log(models.providers);
{ "chat_models": [ {} ], "embedding_models": [ {} ], "default_models": {}, "providers": [ "<string>" ] }
Get list of available models from configuration.
Returns models grouped by type (chat, embedding, etc.) with their metadata.
Successful Response
Response for available models endpoint
Show child attributes
Was this page helpful?