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 } }
获取指定机器人的事件日志记录。
Documentation IndexFetch the complete documentation index at: https://docs.langbot.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.langbot.app/llms.txt
Use this file to discover all available pages before exploring further.
起始索引(-1 表示从最新开始)
最大返回数量
成功
0
Show child attributes