Get Background Process Log
get_background_process_logFetch a daemon or queue worker's log to diagnose stuck or crashing queues; use a process ID from list_background_processes and optionally tail the last N lines.
Instructions
The log of a daemon or queue worker — what a stuck or crashing queue is actually printing. Get the id from list_background_processes. Requires the server:create-daemons scope; that scope ALSO grants creating daemons and enabling Horizon/Octane/Pulse, so a strictly read-only token will get a 403 here while list_background_processes still works.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server id from list_servers. | |
| tail_lines | No | Return only the last N lines, where failures appear (default 200). Output is additionally capped by character count, so a very long single line cannot flood the response. | |
| organization | No | Organisation slug. Optional when the server has a default configured. | |
| background_process | Yes | Process id from list_background_processes. |