dag-runs

Reschedule DAG-run with a new run ID

Changed on

Launch a fresh DAG-run from a historic execution while reusing its stored parameters.

post/dag-runs/{name}/{dagRunId}/reschedule

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

Query parameters

remoteNodestring

name of the remote node

Request body

dagRunIdstring

Explicit run ID for the new DAG-run; if omitted a new ID is generated.

dagNamestring

Optional DAG name override for the new run.

useCurrentDagFileboolean

When true, reschedule from the current contents of the original DAG file instead of the stored historical YAML snapshot.

Example request

{
  "dagRunId": "latest"
}

Response

Successfully scheduled a new DAG-run

dagRunIdstring required

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

queuedboolean required

Indicates whether the run was queued instead of starting immediately.

Example response

{
  "dagRunId": "latest"
}

Changes

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new human_task_resume_failed enum value to the response property for the response status

    • warning

      added the new human_task_resume_failed enum value to the response property for the response status

    • warning

      added the new human_task_resume_failed enum value to the response property for the response status

    • warning

      added the new human_task_resume_failed enum value to the response property for the response status

    • warning

      added the new payload_too_large enum value to the response property for the response status

    • warning

      added the new payload_too_large enum value to the response property for the response status

    • warning

      added the new payload_too_large enum value to the response property for the response status

    • warning

      added the new payload_too_large enum value to the response property for the response status

    • warning

      added the new rate_limited enum value to the response property for the response status

    • warning

      added the new rate_limited enum value to the response property for the response status

    • warning

      added the new rate_limited enum value to the response property for the response status

    • warning

      added the new rate_limited enum value to the response property for the response status