Skip to main content
GET
/
api
/
admin
/
logs
/
server
Get Server Logs
curl --request GET \
  --url http://localhost:8080/api/admin/logs/server \
  --header 'Authorization: Bearer <token>'
{
  "lines": [
    {
      "message": "<string>",
      "timestamp": "<string>",
      "priority": "<string>",
      "unit": "<string>"
    }
  ],
  "total": 123,
  "has_more": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:100
Required range: 1 <= x <= 1000

Response

200 - application/json

Successful Response

lines
ServerLogEntry · object[]
required
total
integer | null
has_more
boolean
default:false