/

The building model process status

get

Get the status of building model process

Responses
200
Successful operation
application/json
get
GET /strongcourage/MAIP/v1/build/ HTTP/1.1
Host: virtserver.swaggerhub.com
Accept: */*
200

Successful operation

{
  "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"
}

Start building a model

post

Request building a model

Body
Responses
200
Successful operation
application/json
post
POST /strongcourage/MAIP/v1/build/ HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 195

{
  "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
    }
  }
}
{
  "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"
}