import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const customModels = await client.modelConfig.customModels.list();
console.log(customModels);
[
{
"id": "<string>",
"name": "<string>",
"provider": "<string>",
"model_name": "<string>",
"config": {}
}
]
List all custom models for the authenticated user.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const customModels = await client.modelConfig.customModels.list();
console.log(customModels);
[
{
"id": "<string>",
"name": "<string>",
"provider": "<string>",
"model_name": "<string>",
"config": {}
}
]
Successful Response
The response is of type CustomModel · object[]
.
Was this page helpful?