Bot Orchestration
Start Bot
Start a bot with the specified configuration.
Sends a start command to an existing bot instance via MQTT. The bot must have already been deployed (using deploy-v2-script or deploy-v2-controllers) and be in a stopped state. This endpoint initiates the trading script execution within the bot container.
Use this endpoint to:
- Resume a stopped bot with the same or different configuration
- Start a deployed bot for the first time after deployment
- Change the running script or configuration of a stopped bot
The start command is sent asynchronously via MQTT. The response indicates whether the command was successfully sent, not whether the bot has fully started.
post/bot-orchestration/start-bot
Request body
Example request
{
"bot_name": "my-trading-bot-20240115-143022",
"log_level": "DEBUG",
"script": "v2_with_controllers",
"conf": "dman_maker_config"
}Response
Successful Response
{"stackTrail":"paths:/bot-orchestration/start-bot:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}