Skip to main content

Host endpoints

Minimum role: manager (GET /host/info is also readable via the info-path rule).

MethodPathRoleDescription
GET/host/infodefaultHost details
POST/host/rebootmanagerReboot the host
POST/host/shutdownmanagerPower off the host
POST/host/reloadmanagerRe-read host state
POST/host/optionsmanagerChange host settings
GET/host/servicesmanagerList systemd services
GET/host/disks/default/usagemanagerStorage usage breakdown
GET/host/logsmanagerFull system journal (text/plain)
GET/host/logs/followmanagerStreamed journal
GET/host/logs/identifiersmanagerAvailable syslog identifiers
GET/host/logs/identifiers/{identifier}managerLogs for one identifier
GET/host/logs/identifiers/{identifier}/followmanagerStreamed logs for one identifier
GET/host/logs/bootsmanagerBoot ID list
GET/host/logs/boots/{bootid}managerLogs for a boot
GET/host/logs/boots/{bootid}/followmanagerStreamed logs for a boot
GET/host/logs/boots/{bootid}/identifiers/{identifier}managerLogs for identifier within a boot
GET/host/logs/boots/{bootid}/identifiers/{identifier}/followmanagerStreamed variant

GET /host/info

Response data keys: agent_version, apparmor_version, chassis, virtualization, cpe, deployment, disk_free, disk_total, disk_used, disk_life_time, features, hostname, llmnr_hostname, kernel, operating_system, timezone, dt_utc, dt_synchronized, use_ntp, startup_time, boot_timestamp, broadcast_llmnr, broadcast_mdns.

POST /host/reboot, POST /host/shutdown

FieldTypeDefaultDescription
forcebooleanfalseProceed even while a Core offline database migration is running

POST /host/options

FieldType
hostnamestring

GET /host/services

Response data: services — list of name, description, state.

GET /host/disks/default/usage

Query parameter max_depth (int, default 1) controls directory-size recursion. Response data: id, label, total_bytes, used_bytes, and children — a system entry plus per-area sizes for app data, app configs, media, share, backup, ssl, and the Core config directory.

Log endpoints

  • {bootid} accepts a journal boot ID or a signed offset (0 = current boot, negative values count backwards).
  • Query options: lines (default 100), verbose, no_colors; Accept: text/x-log selects the verbose formatter; a Range: entries=cursor[[:num_skip]:num_entries] header allows cursor paging. The X-First-Cursor response header carries the first line's cursor.
  • Streaming (/follow) responses are unbuffered (X-Accel-Buffering: no).