getJobExecutionById
- Print
- PDF
getJobExecutionById
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get the job execution result.
GET https://dataflow.apigw.ntruss.com/api/v1/jobs/{jobId}/executions/{executionId}
Request
Request parameter
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
jobId | Yes | String | Task ID | |
executionId | Yes | String | Job execution ID |
Response
Field name | Type | Description | Remarks |
---|---|---|---|
jobId | String | Task ID | |
jobName | String | Job name | |
jobExecutionId | String | Job execution ID | |
triggerId | String | Trigger ID | |
triggerName | String | Trigger name | |
status | String | Job status | |
jobCondition.workerType | String | Worker type | |
jobCondition.numWorker | Number | Number of workers | |
jobCondition.timeout | Number | Execution timeout | |
jobCondition.nrn | String | Policy NRN | |
jobCondition.scriptPath | String | Executable script storage path | |
jobCondition.logPath | String | Execution log storage path | |
waitingTime | Number | Job wait time | |
runningTime | Number | Task execution time | |
executorNum | Number | Number of job workers | |
parsedParameters | Object | Converted parameter | |
createdDate | String | Job creation date | |
startDate | String | Job execution date | |
endDate | String | Job execution end date |
Response status
HTTP Status | Desc |
---|---|
200 | OK (Successfully searched) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal 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}
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/"
}
]
}
Was this article helpful?