Get the status of building model process
/build/
curl -L \ --url 'https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/build/'
{ "isRunning": true, "lastBuildId": "fadfafewfwefwe", "config": { "buildConfig": { "datasets": [ { "datasetId": "my-dataset-01", "isAttack": true } ], "training_ratio": 0.7, "training_parameters": { "nb_epoch_cnn": 2, "nb_epoch_sae": 5, "batch_size_cnn": 32, "batch_size_sae": 16 } } }, "lastBuildAt": "123243534534" }
Request building a model
curl -L \ --request POST \ --url 'https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/build/' \ --header 'Content-Type: application/json' \ --data '{ "buildConfig": { "datasets": [ { "datasetId": "my-dataset-01", "isAttack": true } ], "training_ratio": 0.7, "training_parameters": { "nb_epoch_cnn": 2, "nb_epoch_sae": 5, "batch_size_cnn": 32, "batch_size_sae": 16 } } }'