cURL
curl --request POST \ --url http://localhost:5300/api/v1/platform/bots/{bot_uuid}/logs \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "from_index": -1, "max_count": 10 } '
{ "code": 0, "data": { "logs": [ {} ], "total_count": 123 } }
获取指定机器人的事件日志记录。
起始索引(-1 表示从最新开始)
最大返回数量
成功
0
Show child attributes