curl --request GET \
--url http://localhost:3000/api/server/logs
{
"logs": [
{
"level": 123,
"time": 123,
"msg": "<string>",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentName": "<string>"
}
],
"count": 123,
"total": 123,
"level": "<string>",
"levels": [
"<string>"
]
}
Retrieve system logs with optional filtering
curl --request GET \
--url http://localhost:3000/api/server/logs
{
"logs": [
{
"level": 123,
"time": 123,
"msg": "<string>",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentName": "<string>"
}
],
"count": 123,
"total": 123,
"level": "<string>",
"levels": [
"<string>"
]
}
Timestamp (ms) to get logs from
all
, trace
, debug
, info
, warn
, error
, fatal
x <= 1000
System logs
The response is of type object
.
Was this page helpful?