Skip to content

Endpoints

Get bots

GET /bots
Returns all bots Response model: List[Bot]

Params

Field Default Description
limit 20 The limit number of the bots
skip 0 The offset of the bots

Get bot

GET /bots/:bot_id
Returns a bot with specified id Response model: Bot

Get bot stats

GET /bots/:bot_id/stats
Returns bot stat records Response model: List[BotStat]

Get last bot stat

GET /bots/:bot_id/stat
Returns last bot stats record Response model: BotStat

Post bot stats

POST /bots/:bot_id/stats
Response model: BotStat

Headers

Field Type Description
Authorization string API key of these bot

Request model

Field Type Description
users integer Count of bot users
guilds integer Count of bot guilds
shards integer? Count of bot shards
memory_load integer? The % of memory that is in use.
cpu_load integer? The % of cpu that is in use.
commands_executed integer? Count of number executed commands
custom List[BotStatCustomField]? Custom data