v51

latestOpenAPI 3.0.0GPL-3.0raw.githubusercontent.com2026-08-01199241439.9 KB
dag-runs

Retrieve log for a specific step in a sub DAG-run

Fetches the log for an individual step in a sub DAG-run

get/dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/log

Path parameters

namestring regex required

Name of the DAG

name of the DAG

dagRunIdstring required

Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.

Example:latest

ID of the DAG-run or 'latest' to get the most recent DAG-run

subDAGRunIdstring required

ID of the sub DAG-run to retrieve the log for

stepNamestring required

name of the step

Query parameters

remoteNodestring

name of the remote node

tailinteger

Number of lines to return from the end of the file

headinteger

Number of lines to return from the beginning of the file

offsetinteger

Line number to start reading from (1-based)

limitinteger

Maximum number of lines to return

stream'stdout' | 'stderr' string

Whether to return stdout or stderr logs

Response

A successful response

contentstring required

Log content

lineCountinteger

Number of lines returned

totalLinesinteger

Total number of lines in the log file

hasMoreboolean

Whether there are more lines available

isEstimateboolean

Whether the line count is an estimate