Tail the last N lines of a running preview component’s dev server log (stdout+stderr merged). Admin only. Logs disappear when the preview exits.
rev (branch) and component. Optional tail caps bytes from the end (default 64 KiB, max 1 MiB). Response is text/plain; x-log-truncated is set when the tail was clipped.Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Git branch name of the preview to read logs from (for example main).
Which component to fetch logs for.
api, ui Max number of lines to return from the end of the log. Default 200, max 10000.
x >= 0Last N lines of the log as plain text.
The response is of type string.