Getting Started
API Reference
- GETPing Health
- GETGet Available Models
- POSTRetrieve Chunks
- POSTRetrieve Chunks Grouped
- POSTRetrieve Documents
- POSTBatch Get Documents
- POSTBatch Get Chunks
- POSTQuery Completion
- GETGet Chat History
- GETGet Available Models For Selection
- POSTAgent Query
- GETGet Usage Stats
- GETGet Recent Usage
- POSTGenerate Local Uri
- POSTGenerate Cloud Uri
- DELDelete Cloud App
- GETList Chat Conversations
- PATCHUpdate Chat Title
Documents
Folders
Workflows
model-config
Logs
Graph
API Reference
Get Available Models
Get list of available models from configuration.
Returns models grouped by type (chat, embedding, etc.) with their metadata.
GET
/
models
JavaScript
Copy
Ask AI
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const models = await client.models.list();
console.log(models.providers);
Copy
Ask AI
{
"chat_models": [
{}
],
"embedding_models": [
{}
],
"default_models": {},
"providers": [
"<string>"
]
}
Headers
Response
200
application/json
Successful Response
Response for available models endpoint
Was this page helpful?
JavaScript
Copy
Ask AI
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const models = await client.models.list();
console.log(models.providers);
Copy
Ask AI
{
"chat_models": [
{}
],
"embedding_models": [
{}
],
"default_models": {},
"providers": [
"<string>"
]
}
Assistant
Responses are generated using AI and may contain mistakes.