import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.modelServers.rollback('model_server_id');
console.log(response.from_deployment);{
"rolled_back_to_deployment": "<string>",
"from_deployment": "<string>"
}import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.modelServers.rollback('model_server_id');
console.log(response.from_deployment);{
"rolled_back_to_deployment": "<string>",
"from_deployment": "<string>"
}