Skip to main content
POST
/
bot-orchestration
/
start-bot
Start Bot
curl --request POST \
  --url http://localhost:8000/bot-orchestration/start-bot \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "bot_name": "<string>",
  "log_level": "<string>",
  "script": "<string>",
  "conf": "<string>",
  "async_backend": false
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Action to start a bot

bot_name
string
required

Name of the bot instance to act upon

log_level
string | null

Logging level (DEBUG, INFO, WARNING, ERROR)

script
string | null

Script name to run (without .py extension)

conf
string | null

Configuration file name (without .yml extension)

async_backend
boolean
default:false

Whether to run in async backend mode

Response

Successful Response