Skip to main content
POST

Body

string
required
Bot name. Alphanumeric characters, underscores and hyphens only. Example: my-bot.
string
required
Runtime language. One of: nodejs, python, java, go, rust.
number
required
RAM allocation in MB. Example: 256, 512, 1024. The total across all your bots cannot exceed your plan limit.
string
required
Command to run when the bot starts. Example: node index.js or python main.py.
object
Key-value pairs of environment variables to inject into the bot’s container.
vCPU is calculated automatically — 1 vCPU per 512 MB of RAM. A 256 MB bot gets 0.5 vCPU, a 1024 MB bot gets 2 vCPU.

Response

object
The created bot object with status: "offline".