Oms API GET list of copy model logs - openmpp/openmpp.github.io GitHub Wiki
Models Library is a shared read-only storage from where users can copy models into their own workspace.
Console output from model copy script captured into the log file.
This method allow to get the list of model copy log files.
If error detected during model copy then log error flag: IsError: true and log file renamed with extension .error.txt instead of .console.txt.
Use GET copy model log file method to get the content of the log file by name.
Method:
GET /api/admin/copy-model/log-all
Example:
http://localhost:4040/api/admin/copy-model/log-all
[
{
"BaseName": "RiskPaths",
"LogStamp": "2026_07_29_16_54_24_280",
"LogFileName": "copy-model.2026_07_29_16_54_24_280.RiskPaths.console.txt",
"IsError": false
},
{
"BaseName": "RiskPaths-3.0.0.0",
"LogStamp": "2026_07_29_16_59_48_700",
"LogFileName": "copy-model.2026_07_29_16_59_48_700.RiskPaths-3.0.0.0.console.txt",
"IsError": false
},
{
"BaseName": "RiskPaths-3.0.0.0",
"LogStamp": "2026_08_04_21_23_40_261",
"LogFileName": "copy-model.2026_08_04_21_23_40_261.RiskPaths-3.0.0.0.error.txt",
"IsError": true
},
{
"BaseName": "RiskPaths-3.0.0.0",
"LogStamp": "2026_08_28_23_17_34_952",
"LogFileName": "copy-model.2026_08_28_23_17_34_952.RiskPaths-3.0.0.0.console.txt",
"IsError": false
}
]