Platform & adminSu Subscription

streamLogs

Topics: Admin

Stream logs across drains (webhook, execution, edge app) as they are written. Requires log:list permission.

Returns

UnifiedLogState!

Arguments

Restrict the live stream to these sources (default: all). ARCHIVE is not live-streamed.

Possible values (5)
ENDPOINT

Incoming webhook invocation log

EXECUTION

Workflow script log

INTEGRATION

Integration script log

EDGE_APP

Edge app (IoT controller) log

ARCHIVE

Archive export script log line

Exact field SDL
"""
Stream logs across drains (webhook, execution, edge app) as they are written. Requires log:list permission.
"""
streamLogs(
  """
  Restrict the live stream to these sources (default: all). ARCHIVE is not live-streamed.
  """
  sources: [UnifiedLogSource!]
): UnifiedLogState! @topic(names: ["admin"])

Declared on Subscription. Access is checked by the platform for each operation.