​
Select Service
ves-io-schema-shape-bot_defense-reporting-CustomAPI-TotalAutomation
Published April 5, 2023 | Last modified June 26, 2025
Examples of performing reporting CustomAPI TotalAutomation
Usecase:
TotalAutomation in ns1,
Request:
Request using vesctl:
vesctl request rpc reporting.CustomAPI.TotalAutomation -i request.yaml --uri /public/namespaces/ns1/reporting/insight/total-automation --http-method POST
where file request.yaml has following contents:
date: 2023/03/01
namespace: ns1
region: US
Copied!
vesctl yaml response:
{}
Copied!
Request using curl:
curl -X 'POST' -d '{"namespace":"ns1","region":"US","date":"2023/03/01"}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build336959812_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/shape/bot/namespaces/ns1/reporting/insight/total-automation'
Copied!
curl response:
HTTP/1.1 200 OK
Content-Length: 407
Content-Type: application/json
Date: Thu, 26 Jun 2025 23:56:02 GMT
Vary: Accept-Encoding
{
"endpoint": "0",
"endpoint_label": "",
"traffic_channel": "",
"automated": "0",
"automated_percentage": 0,
"human": "0",
"human_percentage": 0,
"others": "0",
"others_percentage": 0,
"malicious_bot": "0",
"malicious_bot_percentage": 0,
"good_bot": "0",
"good_bot_percentage": 0,
"web": "0",
"web_percentage": 0,
"mobile": "0",
"mobile_percentage": 0,
"create_date": 0
}
Copied!