작업 성능 분석 가져오기
curl --request POST \
--url https://openapi.octoparse.com/taskanalytics/queries \
--header 'Content-Type: application/json' \
--data '
{
"start": "2026-02-01",
"end": "2026-04-01",
"page": 1,
"pageSize": 20,
"timeGranularity": "Week",
"collectionMethod": "All",
"taskIds": [
"task-id-1"
],
"memberNames": []
}
'import requests
url = "https://openapi.octoparse.com/taskanalytics/queries"
payload = {
"start": "2026-02-01",
"end": "2026-04-01",
"page": 1,
"pageSize": 20,
"timeGranularity": "Week",
"collectionMethod": "All",
"taskIds": ["task-id-1"],
"memberNames": []
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
start: '2026-02-01',
end: '2026-04-01',
page: 1,
pageSize: 20,
timeGranularity: 'Week',
collectionMethod: 'All',
taskIds: ['task-id-1'],
memberNames: []
})
};
fetch('https://openapi.octoparse.com/taskanalytics/queries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openapi.octoparse.com/taskanalytics/queries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'start' => '2026-02-01',
'end' => '2026-04-01',
'page' => 1,
'pageSize' => 20,
'timeGranularity' => 'Week',
'collectionMethod' => 'All',
'taskIds' => [
'task-id-1'
],
'memberNames' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://openapi.octoparse.com/taskanalytics/queries"
payload := strings.NewReader("{\n \"start\": \"2026-02-01\",\n \"end\": \"2026-04-01\",\n \"page\": 1,\n \"pageSize\": 20,\n \"timeGranularity\": \"Week\",\n \"collectionMethod\": \"All\",\n \"taskIds\": [\n \"task-id-1\"\n ],\n \"memberNames\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://openapi.octoparse.com/taskanalytics/queries")
.header("Content-Type", "application/json")
.body("{\n \"start\": \"2026-02-01\",\n \"end\": \"2026-04-01\",\n \"page\": 1,\n \"pageSize\": 20,\n \"timeGranularity\": \"Week\",\n \"collectionMethod\": \"All\",\n \"taskIds\": [\n \"task-id-1\"\n ],\n \"memberNames\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.octoparse.com/taskanalytics/queries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"start\": \"2026-02-01\",\n \"end\": \"2026-04-01\",\n \"page\": 1,\n \"pageSize\": 20,\n \"timeGranularity\": \"Week\",\n \"collectionMethod\": \"All\",\n \"taskIds\": [\n \"task-id-1\"\n ],\n \"memberNames\": []\n}"
response = http.request(request)
puts response.read_body{
"data": {
"total": 42,
"data": [
{
"taskId": "abc123",
"userId": "user001",
"taskName": "Product scraper",
"dayKey": "2026-W11",
"weekStartDate": "2026-03-10",
"weekEndDate": "2026-03-16",
"collectionMethod": "Cloud",
"dataVolumeMetrics": {
"totalCollected": 10000,
"deduplicatedVolume": 8000
},
"executionMetrics": {
"runCount": 50,
"successCount": 48,
"failureCount": 2,
"durationPerRunSeconds": 12.5,
"totalExecutionSeconds": 625,
"successRate": 0.96,
"failureRate": 0.04
},
"resourceUsageMetrics": {
"captchaCount": 10,
"simpleTemplateCount": null,
"proxyIpCount": 1.5,
"balance": 3.2
}
}
]
},
"requestId": "0HMD469L0I8Q1:00000001"
}{
"error": {
"code": 123,
"message": "<string>"
},
"requestId": "<string>"
}작업
작업 성능 분석 가져오기
필수 플랜: 스탠다드, 프로페셔널 또는 엔터프라이즈.
선택한 날짜 범위의 작업 수집 및 실행 지표를 가져옵니다. 이 엔드포인트를 사용하여 각 작업이 수집한 데이터 양, 실행 빈도, 성공률, 실행 시간 및 사용한 리소스를 검토할 수 있습니다. 결과는 일, 주 또는 월 단위로 그룹화할 수 있습니다.
날짜는 UTC 달력 일을 사용하며 날짜 범위는 최근 3개월 이내여야 합니다. memberNames를 생략하거나 비워 두면 결과가 현재 사용자로 제한됩니다. 지정한 구성원은 현재 사용자의 팀에 속해야 합니다.
POST
/
taskanalytics
/
queries
작업 성능 분석 가져오기
curl --request POST \
--url https://openapi.octoparse.com/taskanalytics/queries \
--header 'Content-Type: application/json' \
--data '
{
"start": "2026-02-01",
"end": "2026-04-01",
"page": 1,
"pageSize": 20,
"timeGranularity": "Week",
"collectionMethod": "All",
"taskIds": [
"task-id-1"
],
"memberNames": []
}
'import requests
url = "https://openapi.octoparse.com/taskanalytics/queries"
payload = {
"start": "2026-02-01",
"end": "2026-04-01",
"page": 1,
"pageSize": 20,
"timeGranularity": "Week",
"collectionMethod": "All",
"taskIds": ["task-id-1"],
"memberNames": []
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
start: '2026-02-01',
end: '2026-04-01',
page: 1,
pageSize: 20,
timeGranularity: 'Week',
collectionMethod: 'All',
taskIds: ['task-id-1'],
memberNames: []
})
};
fetch('https://openapi.octoparse.com/taskanalytics/queries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openapi.octoparse.com/taskanalytics/queries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'start' => '2026-02-01',
'end' => '2026-04-01',
'page' => 1,
'pageSize' => 20,
'timeGranularity' => 'Week',
'collectionMethod' => 'All',
'taskIds' => [
'task-id-1'
],
'memberNames' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://openapi.octoparse.com/taskanalytics/queries"
payload := strings.NewReader("{\n \"start\": \"2026-02-01\",\n \"end\": \"2026-04-01\",\n \"page\": 1,\n \"pageSize\": 20,\n \"timeGranularity\": \"Week\",\n \"collectionMethod\": \"All\",\n \"taskIds\": [\n \"task-id-1\"\n ],\n \"memberNames\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://openapi.octoparse.com/taskanalytics/queries")
.header("Content-Type", "application/json")
.body("{\n \"start\": \"2026-02-01\",\n \"end\": \"2026-04-01\",\n \"page\": 1,\n \"pageSize\": 20,\n \"timeGranularity\": \"Week\",\n \"collectionMethod\": \"All\",\n \"taskIds\": [\n \"task-id-1\"\n ],\n \"memberNames\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.octoparse.com/taskanalytics/queries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"start\": \"2026-02-01\",\n \"end\": \"2026-04-01\",\n \"page\": 1,\n \"pageSize\": 20,\n \"timeGranularity\": \"Week\",\n \"collectionMethod\": \"All\",\n \"taskIds\": [\n \"task-id-1\"\n ],\n \"memberNames\": []\n}"
response = http.request(request)
puts response.read_body{
"data": {
"total": 42,
"data": [
{
"taskId": "abc123",
"userId": "user001",
"taskName": "Product scraper",
"dayKey": "2026-W11",
"weekStartDate": "2026-03-10",
"weekEndDate": "2026-03-16",
"collectionMethod": "Cloud",
"dataVolumeMetrics": {
"totalCollected": 10000,
"deduplicatedVolume": 8000
},
"executionMetrics": {
"runCount": 50,
"successCount": 48,
"failureCount": 2,
"durationPerRunSeconds": 12.5,
"totalExecutionSeconds": 625,
"successRate": 0.96,
"failureRate": 0.04
},
"resourceUsageMetrics": {
"captchaCount": 10,
"simpleTemplateCount": null,
"proxyIpCount": 1.5,
"balance": 3.2
}
}
]
},
"requestId": "0HMD469L0I8Q1:00000001"
}{
"error": {
"code": 123,
"message": "<string>"
},
"requestId": "<string>"
}본문
application/json
시작일(포함, yyyy-MM-dd 형식)입니다.
예시:
"2026-02-01"
종료일(포함)입니다. 현재 UTC 날짜 이후이거나 start 이전일 수 없습니다.
예시:
"2026-04-01"
페이지 번호입니다.
필수 범위:
x >= 1페이지당 결과 수입니다.
필수 범위:
1 <= x <= 100포함할 작업 ID입니다. 모든 작업을 포함하려면 이 필드를 생략하세요.
Maximum array length:
100포함할 팀 구성원 이름입니다. 현재 사용자만 조회하려면 생략하거나 비워 두세요.
Maximum array length:
100클라우드 또는 로컬 추출로 필터링합니다. 둘 다 포함하려면 All을 사용하거나 이 필드를 생략하세요.
사용 가능한 옵션:
Cloud, Local, All 시간에 따라 결과를 그룹화하는 방식입니다.
사용 가능한 옵션:
Day, Week, Month ⌘I