v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-0815390371.2 KB
Bot Orchestration

Stop And Archive Bot

Gracefully stop a bot and archive its data in the background. This initiates a background task that will:

  1. Stop the bot trading process via MQTT
  2. Wait 15 seconds for graceful shutdown
  3. Monitor and stop the Docker container
  4. Archive the bot data (locally or to S3)
  5. Remove the container

Returns immediately with a success message while the process continues in the background.

post/bot-orchestration/stop-and-archive-bot/{bot_name}

Path parameters

bot_namestring required

Query parameters

skip_order_cancellationboolean
archive_locallyboolean
s3_bucketstring

Response

Successful Response

{"stackTrail":"paths:/bot-orchestration/stop-and-archive-bot/{bot_name}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}