Stop

Stop the current prediction process

Stop the current online prediction process

GEThttps://virtserver.swaggerhub.com/strongcourage/MAIP/v1/predict/stop
Response

Successful operation

Body
isRunningboolean
Example: true
lastPredictedIdstring
Example: "fadfafewfwefwe"
configpredictConfig (object)
lastPredictedAtstring
Example: "123243534534"
Request
const response = await fetch('https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/predict/stop', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "isRunning": true,
  "lastPredictedId": "fadfafewfwefwe",
  "config": {
    "predictConfig": {
      "modelId": "6d9aebed-aa34-47c5-be80-b41280c32163.h5",
      "inputTraffic": {
        "type": "report",
        "value": {
          "reportId": "report-honeypot.pcap-342727c9-e253-4124-85fd-974c2ad60bae",
          "reportFileName": "1675893004.993760_0_honeypot.pcap.csv"
        }
      }
    }
  },
  "lastPredictedAt": "123243534534"
}