FerryDocs
ReferenceAPI overview

Log streams

A log stream sends one event for each line. A stream with an end stops with event end.

Edit on GitHub
Terminal
curl -N -H "Authorization: Bearer $FERRY_TOKEN" 'http://127.0.0.1:7878/api/v1/deploys/dep-3271cdfd1415400d9a5e/logs?follow=true'
Output
event: log
data: {"ts":"2026-09-27T07:38:59.562702Z","stream":"system","line":"==> Health check passed"}

event: log
data: {"ts":"2026-09-27T07:38:59.563675Z","stream":"system","line":"==> Your service is live 🎉"}

event: end
data: 

Each line is an event: log. Its data is a LogLine object.

The fields of a LogLine

FieldTypeDescription
tsstring, requiredWhen the program wrote the line (RFC 3339, UTC).
stream"stdout", "stderr" or "system", requiredFerry writes the system lines. They start with ==>.
instancestringThe last 6 characters of the container name, on lines from an app container. Other lines do not have it.
linestring, requiredThe text of the line.

The end of a stream

A stream that has an end stops with event: end and an empty data: line. With the empty line, sends the event to your code.

No event: end means an incomplete log

If a stream stops with no event: end, something cut it, for example a shutdown of the server. Your log is not complete.

On this page