import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.models.deployments.execute('model_instance_id', 'model_deployment_id');
console.log(response);{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.models.deployments.execute('model_instance_id', 'model_deployment_id');
console.log(response);{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}