Workflow logs live request

Stream live logs of a workflow

Endpoint

GET /api/workflow/logs/live/

Auth

Authorization: Bearer ${token}

Query Parameters

KeyDefault
identity
stdoutfalse
stderrfalse

When neither stdout nor stderr is set, both streams are followed.

Response

Streamed (application/stream+json); a new entity chunk is emitted for each log line until the client disconnects.

Json
[
    {
        "kind": "status",
        "payload": {
            "code": 0,
            "message": ""
        }
    },
    {
        "kind": "entity",
        "payload": {
            "output": "",
            "prefix": ""
        }
    }
]

Notes

  • Workflow Permission Required
  • Always streamed