dlogify docs
API referenceLive tail

Stream a project's logs live

GET/v1/projects/{project_id}/tail

Requires role member or higher.

Server-Sent Events with the project's redacted log lines as they arrive. Nothing is stored and nothing before the request is sent; a line can occasionally be missing or repeated.

Events: lines (data: an array of TailLine), dropped (data: TailDropped, at most once per second), end (data: TailEnd, then the server closes). A : ping comment is sent every 15 seconds.

Limits come from the plan: concurrent sessions per organization (403 plan-limit-reached with limit: "tail_sessions"), lines per second per session and session duration.

Authorization

AuthorizationBearer <token>

A session token from /v1/auth/sign-in/email (CLI, scripts).

In: header

Path Parameters

project_id*string

Query Parameters

service?string

Only this service (exact match).

Length1 <= length <= 200
environment?string

Only this environment (exact match).

Length1 <= length <= 200
level?string

Minimum level; default info.

Value in

  • "trace"
  • "debug"
  • "info"
  • "warn"
  • "error"
q?string

Case-insensitive text the message contains; not a pattern.

Length1 <= length <= 200

Response Body

text/event-stream

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/projects/string/tail" \  -H "Authorization: Bearer $DLOGIFY_SESSION"
"string"