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