getExecutionCount
- Print
- PDF
getExecutionCount
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
View the number of job executions during the specified period.
GET https://dataflow.apigw.ntruss.com/api/v1/stats/executions-interval?startDate={startDate}&endDate={endDate}
Requests
Request parameters
Parameter name | Required | Type | Service limits | Description |
---|---|---|---|---|
startDate | Yes | String | Datetime(YYYY-MM-DDTHH:mm:ss) | Start time |
endDate | Yes | String | Datetime(YYYY-MM-DDTHH:mm:ss) | End time |
Responses
Field name | Type | Description | Note |
---|---|---|---|
result[].totalCount | Number | Number of executions | |
result[].startDate | String | Start time | |
result[].endDate | String | End time |
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 examples
GET /api/v1/stats/executions-interval?startDate=2023-10-01T00%3A00%3A00&endDate=2023-10-08T23%3A59%3A59
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 examples
{
"result": [
{
"totalCount": 1,
"startDate": "2023-10-01T00:00:00.000",
"endDate": "2023-10-02T00:00:00.000"
},
{
"totalCount": 5,
"startDate": "2023-10-02T00:00:01.000",
"endDate": "2023-10-03T00:00:01.000"
},
{
"totalCount": 5,
"startDate": "2023-10-03T00:00:02.000",
"endDate": "2023-10-04T00:00:02.000"
},
{
"totalCount": 10,
"startDate": "2023-10-04T00:00:03.000",
"endDate": "2023-10-05T00:00:03.000"
},
{
"totalCount": 1,
"startDate": "2023-10-05T00:00:04.000",
"endDate": "2023-10-06T00:00:04.000"
},
{
"totalCount": 11,
"startDate": "2023-10-06T00:00:05.000",
"endDate": "2023-10-07T00:00:05.000"
},
{
"totalCount": 9,
"startDate": "2023-10-07T00:00:06.000",
"endDate": "2023-10-08T00:00:06.000"
}
]
}
Was this article helpful?