Workspaces

Fetch or stream a workspace pod's logs

get/api/v1/workspaces/{name}/pods/{pod}/logs

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/workspaces/{name}/pods/{pod}/logs
  • Auth: none declared

Path parameters

namestring required
podstring required

Query parameters

containerstring
tailLinesinteger
followboolean

Stream logs as SSE.

previousboolean

Read logs from the previous (crashed) container instance.

Response

Log stream. text/plain for follow=false; text/event-stream for follow=true.

Changes

No recorded changes to this operation across all 17 revisions of this API.