Task Log Stream

Stream agent logs for a task via Server-Sent Events.

The stream sends new log content as log events and closes after the task completes or _MAX_IDLE_TICKS seconds of no new data.

get/api/v1/dashboard/tasks/{task_id}/logs/stream

Path parameters

task_idstring required

Response

Server-Sent Events stream. The response body does not terminate.

Changes

Changed in 2 of the 16 revisions of this API.12

  • 86f514b4e92011See the full diff
    • removed the media type application/json for the response with the status 200

      response-media-type-removed

    • added the media type text/event-stream for the response with the status 200

      response-media-type-added

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog