{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/talend/json-schema/talend-execution-page-schema.json",
  "title": "ExecutionPage",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/talend-monitoring-api-openapi.yml#/components/schemas/ExecutionPage",
  "type": "object",
  "required": [
    "limit",
    "offset",
    "nextPageExists"
  ],
  "properties": {
    "items": {
      "type": "array",
      "description": "NOTE: Records are sorted by `runEndTime` in `desc` order and then by `triggerTime` in `asc` order.\n\n\nSorting by trigger time allows you to get the oldest runs on top.",
      "items": {
        "$ref": "#/$defs/Execution"
      }
    },
    "limit": {
      "type": "number",
      "description": "Maximum number of records to be shown on each page",
      "default": 50,
      "minimum": 5,
      "maximum": 200
    },
    "offset": {
      "type": "number",
      "description": "Pagination pointer index, from which to start returning \"n\" number of records",
      "default": 0,
      "minimum": 0
    },
    "nextPageExists": {
      "type": "boolean",
      "description": "Boolean flag indicating if there is a next page"
    }
  },
  "$defs": {
    "Execution": {
      "type": "object",
      "required": [
        "author",
        "authorName",
        "authorType",
        "environmentId",
        "id",
        "name",
        "operatorName",
        "status",
        "triggerType",
        "type",
        "version",
        "workspaceId"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Execution ID",
          "pattern": "UUID"
        },
        "name": {
          "type": "string",
          "description": "Task or plan name"
        },
        "status": {
          "type": "string",
          "description": "Execution status",
          "enum": [
            "DEPLOY_FAILED ( The task could not be deployed to the processor )",
            "EXECUTION_SUCCESS ( The execution finished successfully )",
            "EXECUTION_FAILED ( The execution encountered an error and did not complete successfully )",
            "EXECUTION_TERMINATED ( The execution was stopped by the user or system before completion )",
            "EXECUTION_TERMINATED_TIMEOUT ( The execution was automatically terminated due to exceeding the allowed time limit )",
            "EXECUTION_REJECTED ( The execution finished and was marked as rejected because it contains rejected rows )",
            "EXECUTION_EVENT_RECEIVED ( The system has received a request to execute a task, but processing has not yet started )",
            "DISPATCHING_FLOW (The system is assigning the task to a processor )",
            "STARTING_FLOW_EXECUTION ( The task execution is being initialized and resources are being allocated )",
            "STOPPING_FLOW_EXECUTION (The task execution is in the process of being stopped )",
            "UNKNOWN ( There is no clear status of the execution )",
            "EXECUTION_MISFIRED ( The plan execution has not been able to start, and no task execution within will be processed )"
          ]
        },
        "subStatus": {
          "type": "string",
          "description": "Sub-status of the work flow\n\n- This sub-status, except `EXECUTION_TERMINATED_TIMEOUT`, is available only when the execution type is `ROUTE` or `DATA_SERVICE`\n- the subStatus `EXECUTION_TERMINATED_TIMEOUT` is also available when the execution type is `STANDARD`",
          "enum": [
            "DOWNLOADING_ARTIFACT ( Downloading the artifact from the location where it was stored )",
            "STARTING_ARTIFACT ( Starting the execution of the artifact from the processor )",
            "TASK_ACTIVE ( Task execution is in progress )",
            "TASK_INACTIVE ( Task execution is not in progress )",
            "TASK_DETACHED ( Task has been set to be removed from the processor )",
            "SENDING_REQUEST ( Sending a request for termination of the execution )",
            "UNDEPLOYING_TASK ( Task will be removed from processor )",
            "EXECUTION_TERMINATED_TIMEOUT ( The task execution was automatically terminated due to exceeding the allowed time limit )"
          ]
        },
        "type": {
          "type": "string",
          "description": "Execution type",
          "enum": [
            "PLAN",
            "STANDARD",
            "PIPELINE",
            "BIG_DATA_BATCH",
            "BIG_DATA_STREAMING",
            "ROUTE",
            "DATA_SERVICE"
          ]
        },
        "version": {
          "type": "string",
          "description": "Task version\n\n- available only for execution `type!=PLAN`, that is to say, the execution type is not a plan."
        },
        "triggerType": {
          "type": "string",
          "description": "Trigger type",
          "enum": [
            "MANUAL",
            "SCHEDULED",
            "WEBHOOK",
            "PLAN"
          ]
        },
        "triggerTime": {
          "type": "number",
          "format": "int32",
          "description": "Trigger time of this execution in `milliseconds`.\n\n- useful only for execution `type!=PLAN`, meaning the execution type is not a plan.\n- when the execution type is a plan (`type=PLAN`), this `triggerTime` equals `runStartTime`"
        },
        "runStartTime": {
          "type": "number",
          "format": "int32",
          "description": "Start time of the execution in `milliseconds`"
        },
        "runEndTime": {
          "type": "number",
          "format": "int32",
          "description": "Time when the execution finishes in `milliseconds`"
        },
        "operator": {
          "type": "string",
          "description": "The operator of a task or plan\n\n- Login name of user when `authorType=HUMAN`\n- ID of service account when `authorType=SERVICE`"
        },
        "operatorName": {
          "type": "string",
          "description": "Actual name of the user or service as task or plan operator.\n\n\n`Warning!` If the user/service account has been deleted,\nthis field value will be returned with an empty string",
          "default": "empty string"
        },
        "operatorType": {
          "type": "string",
          "description": "Operator type",
          "enum": [
            "HUMAN",
            "SERVICE"
          ]
        },
        "author": {
          "type": "string",
          "description": "The author of a task or plan\n\n- Login name of user when `authorType=HUMAN`\n- ID of service account when `authorType=SERVICE`"
        },
        "authorName": {
          "type": "string",
          "description": "Actual name of the user or service that is the author\n\n\n`Warning!` If the user/service account has been deleted,\nthis field value will be returned with an empty string",
          "default": "empty string"
        },
        "authorType": {
          "type": "string",
          "enum": [
            "HUMAN",
            "SERVICE"
          ]
        },
        "attempts": {
          "type": "number",
          "format": "int32",
          "description": "Scheduler may try to start task in parallel several times\n\n- available only for execution `type!=PLAN`"
        },
        "environmentId": {
          "type": "string",
          "description": "Environment ID"
        },
        "workspaceId": {
          "type": "string",
          "description": "Workspace ID"
        },
        "taskId": {
          "type": "string",
          "description": "Task ID\n\n- available only for execution `type!=PLAN`"
        },
        "planExecutionId": {
          "type": "string",
          "description": "Execution ID of the plan from which a task was triggered.\n\n- available only for execution `type=STANDARD/PIPELINE/BIG_DATA_BATCH/BIG_DATA_STREAMING`, and `triggerType=PLAN`\n- if user has no permission over the plan’s workspace, this field will not be included in the response",
          "pattern": "UUID"
        },
        "planName": {
          "type": "string",
          "description": "Name of the plan from which a task was triggered.\n\n- available only for execution `type=STANDARD/PIPELINE/BIG_DATA_BATCH/BIG_DATA_STREAMING`, and `triggerType=PLAN`\n- if user has no permission over the plan’s workspace, this field will be masked as `******`"
        },
        "artifactId": {
          "type": "string",
          "description": "Artifact ID\n\n- available only for execution `type!=PLAN`"
        },
        "artifactName": {
          "type": "string",
          "description": "Artifact name\n\n- available only for execution `type!=PLAN`"
        },
        "artifactVersion": {
          "type": "string",
          "description": "Artifact version\n\n- available only for execution `type!=PLAN`"
        },
        "artifactWorkspaceId": {
          "type": "string",
          "description": "Artifact workspace ID\n\n- available only for execution `type!=PLAN`"
        },
        "destination": {
          "type": "string",
          "description": "Where the job runs\n\n- available only for execution `type!=PLAN`",
          "enum": [
            "CLOUD",
            "CLOUD_EXCLUSIVE",
            "CLOUD_SANDBOX",
            "REMOTE_ENGINE",
            "REMOTE_ENGINE_CLUSTER",
            "ELASTIC_ENGINE"
          ]
        },
        "clusterId": {
          "type": "string",
          "description": "Cluster ID\n\n- available only for execution `type!=PLAN`"
        },
        "clusterName": {
          "type": "string",
          "description": "Cluster name\n\n- available only for execution `type!=PLAN`"
        },
        "engineId": {
          "type": "string",
          "description": "Engine ID\n\n- available only for execution `type!=PLAN`"
        },
        "engineName": {
          "type": "string",
          "description": "Engine name\n\n- available only for execution `type!=PLAN`"
        },
        "runProfileId": {
          "type": "string",
          "description": "Run profile ID\n\n- available only for execution `type!=PLAN`"
        },
        "runProfileName": {
          "type": "string",
          "description": "Run profile name\n\n- available only for execution `type!=PLAN`",
          "default": "profile1"
        },
        "errorMessage": {
          "type": "string",
          "description": "Message raised by an error during execution process.\n\n- it may not present if none produced"
        },
        "misfiredReason": {
          "type": "string",
          "description": "Misfired type",
          "enum": [
            "PARALLEL_EXECUTION_FORBIDDEN",
            "UNABLE_TO_RETRIEVE_ARTIFACT_OR_TASK_MAVEN_URL",
            "TASK_IS_PAUSED",
            "DE_ENV_NOT_CONNECTED",
            "REMOTE_ENGINE_UNAVAILABLE_IN_CLUSTER",
            "REMOTE_ENGINE_UNAVAILABLE",
            "DYNAMIC_ENGINE_UNAVAILABLE",
            "REMOTE_ENGINE_CONTAINER_NOT_FOUND",
            "MAX_DEPLOYMENT_ATTEMPTS_REACHED",
            "MAX_PARALLEL_TASKS_LIMIT_REACHED",
            "PIPELINE_RUN_PROFILE_NOT_FOUND",
            "PIPELINE_ARTIFACT_NOT_FOUND",
            "DATA_FABRIC_ARTIFACT_NOT_FOUND",
            "ELASTIC_ENGINE_CONTAINER_NOT_FOUND",
            "INCOMPATIBILITY_BETWEEN_ACTIONS_VERSIONS_AND_ENGINE",
            "UNKNOWN",
            "SIMULTANEOUS_EXECUTIONS_LIMIT_REACHED",
            "PLAN_EXECUTIONS_PAUSED",
            "PARALLEL_EXECUTIONS_FORBIDDEN"
          ]
        },
        "logLevel": {
          "type": "string",
          "description": "Logging level set for the execution\n\n- available only for execution `type!=PLAN`",
          "enum": [
            "INFO",
            "DEBUG",
            "ERROR",
            "WARN"
          ]
        },
        "tags": {
          "type": "array",
          "description": "Tags\n\n- available only for execution `type!=PLAN`",
          "items": {
            "type": "string"
          }
        },
        "numberOfRejectedRows": {
          "type": "number",
          "description": "Number of rows that have been rejected\n\n- available in executions of `type!=PLAN and status=EXECUTION_REJECTED`"
        },
        "deploymentStrategy": {
          "type": "string",
          "description": "Deployment strategy of artifacts\n\n- available in executions of `type!=PLAN`",
          "enum": [
            "PARALLEL",
            "ROLLING"
          ]
        },
        "planId": {
          "type": "string",
          "description": "Plan ID\n\n- available in executions of `type=PLAN or triggerType=PLAN`\n- if `triggerType=PLAN`, and user has no permission of the plan's workspace, this field will not included in the response.",
          "pattern": "UUID"
        },
        "failedStepName": {
          "type": "string",
          "description": "Failed step name\n\n- available in executions of  `type=PLAN`"
        },
        "rerunPlanExecutionId": {
          "type": "string",
          "description": "Rerun plan execution ID\n- available in executions of `type=PLAN`",
          "pattern": "UUID"
        },
        "parentPlanExecutionId": {
          "type": "string",
          "description": "Parent plan execution ID\n- available in executions of `type=PLAN`",
          "pattern": "UUID"
        },
        "executeDurationMs": {
          "type": "number",
          "description": "Execute duration with millisecond unit"
        },
        "engineVersion": {
          "type": "string",
          "description": "Engine version\n- available only for execution `type!=PLAN`"
        },
        "javaVersion": {
          "type": "string",
          "description": "Java version\n- available only for execution `type!=PLAN`"
        },
        "javaVendor": {
          "type": "string",
          "description": "Java vendor\n- available only for execution `type!=PLAN`"
        },
        "jvmName": {
          "type": "string",
          "description": "JVM name\n- available only for execution `type!=PLAN`"
        },
        "apiVersion": {
          "type": "string",
          "description": "The version of the API through which the execution was triggered. If this was done from the TMC-UI , no apiVersion would be present."
        }
      }
    }
  }
}