Execute

This API is used to Execute and get status of DAG.

DAG

Purpose To Execute DAG/Node.
API URL https://<API URL>:<API Port>/api/v1/Execute/{orgId}
Authentication type Basic/Token
Method Type POST
Example https://<API URL>:<API Port>/api/v1/Execute/119

Input JSON:

{
"extra_vars": {
"command_to_execute": "uname -a",
"target_host": "Myhost"
}

Parameters required in Request body of API

Column Column type Expected/sample Value Remarks
command_to_execute string Command Command which needs to execute on Node.
target_host string Myhost Server host where commend need to execute.

Output:

{
 "id": "XXXXXXXX “
 }

Parameters returned in response of API

Column Column type Value Remarks
id string Unique identifier This field provide Unique Interaction Id