Skip to Content
SeyloDocs

Read the agent's own log

GET
/api/v1/nodes.agentLogs

Returns the newest lines of the node agent's own log (its systemd journal), oldest first, with secrets redacted. Needs the node to be online.

Needs nodes.manage, which owners and admins hold. Available to MCP clients and the assistant.

Authorization

cookieseylo_session<token>

Query Parameters

nodeId*string

Panel-issued id.

Match^[a-z0-9]{16}$
tail?integer

Lines to return, default 500.

Range1 <= value <= 5000
since?string
Formatdate-time

Response Body

Success.

application/json
  1. response
entries*array<>
Example Request
curl -X GET 'https://example.com/api/v1/nodes.agentLogs?nodeId=string'
Example Response
{  "entries": [    {      "time": "2019-08-24T14:15:22Z",      "level": "debug",      "line": "string"    }  ]}