stop

Send signal to stop the training and free up resources.

post
Stop Training

http://localhost:1004/api/v1/stop
This endpoint allows you to stop training.
Request
Response
Request
Response
200: OK
Training has stopped successfully.
{"success": "flow stopped"}
202: Accepted
Kill signal has been accepted.
{"processing": "kill signal accepted"}

Once you send a stop signal to the trainer, a background thread starts and sends a kill signal continuously until the training is stopped completely.

This needs to be done because sometimes the training doesn't stops even after receiving the kill signal.