import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const modelConfigResponses = await client.modelConfig.list();
console.log(modelConfigResponses);
[
{
"id": "<string>",
"provider": "<string>",
"config_data": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
List all model configurations for the authenticated user and app.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const modelConfigResponses = await client.modelConfig.list();
console.log(modelConfigResponses);
[
{
"id": "<string>",
"provider": "<string>",
"config_data": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
Successful Response
The response is of type ModelConfigResponse · object[]
.
Was this page helpful?