Unraid API icon

Unraid API

Interact with the Unraid API

Docker → Get Logs

AI-generated

Summary

Fetches logs for a Docker container from the Unraid API, optionally limiting the results to the most recent lines and filtering them by timestamp. Returns each log line as a separate n8n item.

Inputs

  • Container ID (required) — ID of the Docker container whose logs to retrieve.
  • Tail Lines — Maximum number of lines to retrieve from the end of the logs; defaults to 100.
  • Since — Timestamp to return logs after. Passed to the API only when set; the UI describes it as ISO 8601.

Output shape

A list of items, one per log line.

Each item contains the line's timestamp and message. If the API returns no lines, the operation returns no items. The query also requests a container ID and cursor, but the operation emits only the individual lines.

Links

Discussion