タスクの実行・収集実績を取得
curl --request POST \
--url https://api.example.com/taskanalytics/queriesimport requests
url = "https://api.example.com/taskanalytics/queries"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.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://api.example.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",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/taskanalytics/queries"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/taskanalytics/queries")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/taskanalytics/queries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyタスク
タスクの実行・収集実績を取得
指定期間のタスクについて、収集データ量、実行回数、成功率、実行時間、リソース使用量を日・週・月単位で取得します。
POST
/
taskanalytics
/
queries
タスクの実行・収集実績を取得
curl --request POST \
--url https://api.example.com/taskanalytics/queriesimport requests
url = "https://api.example.com/taskanalytics/queries"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.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://api.example.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",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/taskanalytics/queries"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/taskanalytics/queries")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/taskanalytics/queries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body必要プラン: スタンダード、プロフェッショナル、またはエンタープライズ。
指定した期間について、タスクごとの収集データ量と実行状況をまとめて取得します。実行回数、成功・失敗回数、成功率、平均実行時間、合計実行時間に加え、CAPTCHAやプロキシIPなどのリソース使用量も確認できます。
結果は日・週・月単位で集計でき、タスクID、チームメンバー、クラウド・ローカルの抽出方法で絞り込めます。運用状況のレポート作成、失敗率が高いタスクの特定、リソース消費の確認に使用してください。
リクエスト例、cURL、パラメータ、レスポンススキーマは、下部のAPIパネルに自動生成されます。このページでは、このエンドポイントの用途と使いどころを簡潔に説明します。
日付はUTC基準で、過去3か月以内の期間を指定します。
memberNamesを省略するか空配列にした場合は、現在のユーザーのデータのみが返されます。⌘I