dag-runs

Retrieve the samples of a continuous step, in buckets

Changed on

Returns the executions of a continuous step as buckets of one tier (1 second, 1 minute, 1 hour or 24 hours). The server picks the finest tier whose retention covers from and whose bucket count in the window is not more than points. The response has at most points buckets and does not depend on the count of executions.

get/dag-runs/{name}/{dagRunId}/steps/{stepName}/samples

Request

  • Base URL
    http://localhost/api/v1
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or none

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

stepNamestring required

name of the step

Query parameters

remoteNodestring

name of the remote node

fromstring date-time

Start of the window (RFC 3339). Default: 24 hours before to.

tostring date-time

End of the window (RFC 3339). Default: now.

pointsinteger

Most buckets to return.

Response

A successful response

resolutionSecondsinteger required

Width of the tier that the buckets come from: 1, 60, 3600 or 86400

fromstring date-time required
tostring date-time required

Changes