Get a translation model details - findbrok/laravel-watson-translate GitHub Wiki
You can use the model_id to retrieve details and training status about a specific model
//Get model details
$results = $translator->usingModel('default')->getModelDetails()->collectResults();
/*Outputs
Collection {#160 ▼
#items: array:11 [▼
"model_id" => "en-fr"
"source" => "en"
"target" => "fr"
"base_model_id" => ""
"domain" => "news"
"customizable" => true
"default_model" => true
"owner" => ""
"status" => "available"
"name" => ""
"train_log" => null
]
}
*/
If you do not specify the model name, the default model will be used.