getJobExecutions
- Print
- PDF
getJobExecutions
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get the list of job execution results.
GET https://dataflow.apigw.ntruss.com/api/v1/jobs/{jobId}/executions
Request
Request parameter
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
jobId | Yes | String | Task ID | |
page | No | Number | Page | |
limit | No | Number | Maximum number per page |
Response
Field name | Type | Description | Remarks |
---|---|---|---|
list[].jobId | String | Task ID | |
list[].jobName | String | Job name | |
list[].jobExecutionId | String | Job execution ID | |
list[].triggerId | String | Trigger ID | |
list[].triggerName | String | Trigger name | |
list[].status | String | Job status | |
list[].jobCondition.workerType | String | Worker type | |
list[].jobCondition.numWorker | Number | Number of workers | |
list[].jobCondition.timeout | Number | Execution timeout | |
list[].jobCondition.nrn | String | Policy NRN | |
list[].jobCondition.scriptPath | String | Executable script storage path | |
list[].jobCondition.logPath | String | Execution log storage path | |
list[].waitingTime | Number | Job wait time | |
list[].runningTime | Number | Task execution time | |
list[].executorNum | Number | Number of job workers | |
list[].parsedParameters | Object | Converted parameter | |
list[].createdDate | String | Job creation date | |
list[].startDate | String | Job execution date | |
list[].endDate | String | Job execution end date | |
count | Number | Total count | |
page | Number | Page | |
limit | Number | Maximum number per page |
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?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?