getJobExecutions
    • PDF

    getJobExecutions

    • PDF

    Article summary

    Get the list of job execution results.

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

    Request

    Request parameter

    Parameter nameRequiredTypeRestrictionsDescription
    jobIdYesStringTask ID
    pageNoNumberPage
    limitNoNumberMaximum number per page

    Response

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

    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?page=0&limit=4
    
    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}
    
    

    Response example

    {
      "list": [
         {
          "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/"
            }
          ]
        }
      ],
      "count": 1,
      "page": 0,
      "limit": 1
    }
    

    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.