GET
/
model-config
/
JavaScript
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"
  }
]

Headers

authorization
string

Response

200
application/json

Successful Response

The response is of type ModelConfigResponse · object[].