JavaScript
import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const modelResponses = await client.models.listCustom();
console.log(modelResponses);curl https://api.morphik.ai/models/custom \
-H "Authorization: Bearer $MORPHIK_API_KEY"[
{
"id": "<string>",
"name": "<string>",
"provider": "<string>",
"config": {},
"created_at": "<string>",
"updated_at": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}models
List Custom Models
List all custom models for the authenticated user.
GET
/
models
/
custom
JavaScript
import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const modelResponses = await client.models.listCustom();
console.log(modelResponses);curl https://api.morphik.ai/models/custom \
-H "Authorization: Bearer $MORPHIK_API_KEY"[
{
"id": "<string>",
"name": "<string>",
"provider": "<string>",
"config": {},
"created_at": "<string>",
"updated_at": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?

