Workloads

Read the latest committed stdout/stderr snapshot

Changed on

Returns a committed log artifact when available. If no artifact matches, returns the latest matching retained live snapshot within 24 hours after termination, limited to 8 MiB per attempt. This is a snapshot, not a live stream. Returns 404 when neither exists. X-Nodus-Stage-Id and X-Nodus-Generation identify the returned attempt. A member_id selects the retained distributed member snapshot and honors stage and generation filters. Distributed logs remain available during cleanup and expire 24 hours after workload termination once the group is closed.

get/v1/workloads/{id}/logs

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idstring required

id

Query parameters

stagestring

stage

generationinteger

Positive generation. Omit for the latest matching recorded log.

member_idstring

Nodus distributed member identifier from workload detail. Required when selecting distributed logs.

Response

Success

Changes