MENU
      getJobExecutionById

        getJobExecutionById


        Article summary

        Get the job execution result.

        GET https://dataflow.apigw.ntruss.com/api/v1/jobs/{jobId}/executions/{executionId}
        HTTP

        Request

        Request parameter

        Parameter nameRequiredTypeRestrictionsDescription
        jobIdYesStringTask ID
        executionIdYesStringJob execution ID

        Response

        Field nameTypeDescriptionRemarks
        jobIdStringTask ID
        jobNameStringJob name
        jobExecutionIdStringJob execution ID
        triggerIdStringTrigger ID
        triggerNameStringTrigger name
        statusStringJob status
        jobCondition.workerTypeStringWorker type
        jobCondition.numWorkerNumberNumber of workers
        jobCondition.timeoutNumberExecution timeout
        jobCondition.nrnStringPolicy NRN
        jobCondition.scriptPathStringExecutable script storage path
        jobCondition.logPathStringExecution log storage path
        waitingTimeNumberJob wait time
        runningTimeNumberTask execution time
        executorNumNumberNumber of job workers
        parsedParametersObjectConverted parameter
        createdDateStringJob creation date
        startDateStringJob execution date
        endDateStringJob execution end date

        Response status

        HTTP StatusDesc
        200OK (Successfully searched)
        400Bad Request
        401Unauthorized
        403Forbidden
        404Not Found
        500Internal Server Error

        Examples

        Request example

        GET /api/v1/jobs/5Yns7JgRt25f/executions/4Yz7GaZjhqBq
        
        Host: dataflow.apigw.ntruss.com
        x-ncp-iam-access-key: {Access key}
        x-ncp-apigw-signature-v2: {API GW signature}
        x-ncp-apigw-timestamp: {timestamp}
        HTTP

        Response example

        {
            "jobExecutionId": "mY3275GiRXkm",
            "jobId": "5Yns7JgRt25f",
            "jobCondition": {
              "workerType": "DEFAULT",
              "numWorker": 3,
              "timeout": 360,
              "nrn": "nrn:PUB:IAM::25****4:Role/****-a9d6-****-a85d-246e96592200",
              "scriptPath": "dataflow-33-****/scripts/",
              "logPath": "dataflow-33-****/sparkHistoryLogs/"
            },
            "status": "COMPLETED",
            "startDate": "2024-08-07T17:34:31+09:00",
            "endDate": "2024-08-07T17:36:12+09:00",
            "createdDate": "2024-08-07T17:34:31+09:00",
            "triggerId": "",
            "jobName": "ndjson",
            "waitingTime": 17,
            "executorNum": 2,
            "runningTime": 46,
            "parsedParameters": [
              {
                "nodeType": "SOURCE",
                "nodeName": "obs",
                "key": "$abc",
                "value": "abcd/"
              }
            ]
          }
        JSON

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.