v51

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

Retrieve log for a specific sub DAG-run

Fetches the log for an individual sub DAG-run

get/dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/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

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

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