Skip to content

Known Bot Overview Statistics.

POST
/api/shape/bot/namespaces/{namespace}/v1/reporting/traffic/known/statistics/overview
curl --request POST \
--url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/shape/bot/namespaces/example/v1/reporting/traffic/known/statistics/overview \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "end_time": "example", "filters": { "global_filters": [ { "key": "TIMESTAMP", "op": "IN", "values": [ "example" ] } ], "region_filter": "US" }, "limit": 1, "namespace": "example", "pagination": { "page_number": 1, "page_size": 1 }, "request_metrics": [ "example" ], "sort_options": [ { "key": "TIMESTAMP", "order": "DESCENDING" } ], "start_time": "example", "time_bucket_size": "example" }'

GET overview statistics for known bot traffic.

Examples of this operation.

namespace
required
string

Namespace

x-required namespace is used to scope the query. Only virtual_host in given namespace will be considered.

Media typeapplication/json
Known Bot Request

Known Bot Request.

object
end_time
End time

End time of the query period Format: unix_timestamp|RFC 3339

Optional: If not specified, then the end_time will be evaluated to start_time+10m If start_time is not specified, then the end_time will be evaluated to

string
<= 1024 characters
filters
object
global_filters
Filters

List of global filters.

Array<object>
Global Filter

Query Global Filter.

object
key
string
default: TIMESTAMP
Allowed values: TIMESTAMP USERNAME CLIENT_TOKEN IP_ADDRESS ASN AS_ORGANIZATION COUNTRY METHOD HOST PATH URL REFERER TRAFFIC_CHANNEL IS_ATTACK BOT_REASON TRAFFIC_TYPE THREAT_TYPE SDK_VERSION ACTION_TAKEN COOKIE_AGE BOT_COOKIE USER_AGENT USER_AGENT_OS_FAMILY USER_AGENT_FAMILY BROWSER_FINGERPRINT USER_FINGERPRINT HEADER_FINGERPRINT DEVICE_ID FLOW AGENT APPLICATION_NAME PROTECTED_APPLICATION RESPONSE_CODE SERVER_RESPONSE_CODE TRANSACTION_RESULT MOBILE_TRANSACTION_INSIGHT WEB_TRANSACTION_INSIGHT TRIGGERED_RULE FLOW_CATEGORY FLOW_LABEL ENDPOINT_NAME ENDPOINT_LABEL BOT_ENDPOINT_POLICY KNOWN_BOT_NAME KNOWN_BOT_CATEGORY KNOWN_BOT_PROVIDER KNOWN_BOT_CATEGORY_TYPE KNOWN_BOT_MITIGATION ABSOLUTE PERCENTAGE TREND ENDPOINT_POLICY
op
string
default: IN
Allowed values: IN NOT_IN MATCHES_REGEX DOES_NOT_MATCH_REGEX INCLUDES DOES_NOT_INCLUDE STARTS_WITH ENDS_WITH
values
Values

An unordered list of filter strings.

Array<string>
>= 1 items <= 64 items
region_filter
string
default: US
Allowed values: US EU ASIA CA
limit
Limit

Limits the number of transactions returned in the response Optional: If not specified, the first 500 transactions that matches the query will be returned in the response. The maximum value for limit is 500.

integer format: int64
namespace
Namespace

Namespace is used to scope the query. Only virtual_host in given namespace will be considered.

string
>= 1 characters <= 63 characters /^[a-z]([-a-z0-9]*[a-z0-9])?$/
pagination
object
page_number
Page Number

Configuration parameter for page number

integer format: int64
page_size
Page Size

Size or capacity specification

integer format: int64
request_metrics
Request Metrics

Optional, list of metric identifiers to retrieve.

Array<string>
sort_options
Sort Option

Sort OPTIONS for the query result. If unspecified, sort is by count, in descending order.

Array<object>
Sort Option

Query Result Sort Option.

object
key
string
default: TIMESTAMP
Allowed values: TIMESTAMP USERNAME CLIENT_TOKEN IP_ADDRESS ASN AS_ORGANIZATION COUNTRY METHOD HOST PATH URL REFERER TRAFFIC_CHANNEL IS_ATTACK BOT_REASON TRAFFIC_TYPE THREAT_TYPE SDK_VERSION ACTION_TAKEN COOKIE_AGE BOT_COOKIE USER_AGENT USER_AGENT_OS_FAMILY USER_AGENT_FAMILY BROWSER_FINGERPRINT USER_FINGERPRINT HEADER_FINGERPRINT DEVICE_ID FLOW AGENT APPLICATION_NAME PROTECTED_APPLICATION RESPONSE_CODE SERVER_RESPONSE_CODE TRANSACTION_RESULT MOBILE_TRANSACTION_INSIGHT WEB_TRANSACTION_INSIGHT TRIGGERED_RULE FLOW_CATEGORY FLOW_LABEL ENDPOINT_NAME ENDPOINT_LABEL BOT_ENDPOINT_POLICY KNOWN_BOT_NAME KNOWN_BOT_CATEGORY KNOWN_BOT_PROVIDER KNOWN_BOT_CATEGORY_TYPE KNOWN_BOT_MITIGATION ABSOLUTE PERCENTAGE TREND ENDPOINT_POLICY
order
string
default: DESCENDING
Allowed values: DESCENDING ASCENDING
start_time
Start time

Start time of the query period Format: unix_timestamp|RFC 3339

Optional: If not specified, then the start_time will be evaluated to end_time-10m If end_time is not specified, then the start_time will be evaluated to -10m.

string
<= 1024 characters
time_bucket_size
Time Bucket Size

ISO 8601 duration, e.g. “PT5M” = 5 minutes, “PT1H” = 1 hour, “P1D” = 1 day.

Optional: If specified, timeseries style APIs should use this as the bucket size. If not specified, the backend will automatically choose an appropriate bucket size based on start_time and end_time.

string
<= 1024 characters

A successful response.

Media typeapplication/json
Known Bot Overview Statistics Response

Response containing overview statistics for known bot traffic.

object
distinct_ai_bots
Distinct AI Bots

Distinct AI bot entities observed in the selected time range.

string format: uint64
<= 1024 characters
distinct_ai_bots_sentiment
Distinct AI Bots Sentiment

Trend sentiment indicator for distinct AI bots.

string
<= 1024 characters
distinct_ai_bots_trend
Distinct AI Bots Trend

Percentage change of distinct AI bots versus the previous period.

number format: double
distinct_categories
Distinct Categories

Distinct known-bot categories observed in the selected time range.

string format: uint64
<= 1024 characters
distinct_categories_sentiment
Distinct Categories Sentiment

Trend sentiment indicator for distinct categories.

string
<= 1024 characters
distinct_categories_trend
Distinct Categories Trend

Percentage change of distinct categories versus the previous period.

number format: double
distinct_known_bots
Distinct Known Bots

Distinct known bot entities observed in the selected time range.

string format: uint64
<= 1024 characters
distinct_known_bots_sentiment
Distinct Known Bots Sentiment

Trend sentiment indicator for distinct known bots.

string
<= 1024 characters
distinct_known_bots_trend
Distinct Known Bots Trend

Percentage change of distinct known bots versus the previous period.

number format: double
total_ai_transactions
Total AI Transactions

Total AI bot transactions in the selected time range.

string format: uint64
<= 1024 characters
total_ai_transactions_sentiment
Total AI Transactions Sentiment

Trend sentiment indicator for AI bot transactions.

string
<= 1024 characters
total_ai_transactions_trend
Total AI Transactions Trend

Percentage change of AI bot transactions versus the previous period.

number format: double
total_distinct_ai_bots
Total Distinct AI Bots

Total distinct AI bot count.

string format: uint64
<= 1024 characters
total_distinct_categories
Total Distinct Categories

Total distinct known-bot category count.

string format: uint64
<= 1024 characters
total_distinct_known_bots
Total Distinct Known Bots

Total distinct known bot count.

string format: uint64
<= 1024 characters
total_transactions
Total Transactions

Total known bot transactions in the selected time range.

string format: uint64
<= 1024 characters
total_transactions_sentiment
Total Transactions Sentiment

Trend sentiment indicator for total transactions.

string
<= 1024 characters
total_transactions_trend
Total Transactions Trend

Percentage change of total known bot transactions versus the previous period.

number format: double
Examplegenerated
{
"distinct_ai_bots": "example",
"distinct_ai_bots_sentiment": "example",
"distinct_ai_bots_trend": 1,
"distinct_categories": "example",
"distinct_categories_sentiment": "example",
"distinct_categories_trend": 1,
"distinct_known_bots": "example",
"distinct_known_bots_sentiment": "example",
"distinct_known_bots_trend": 1,
"total_ai_transactions": "example",
"total_ai_transactions_sentiment": "example",
"total_ai_transactions_trend": 1,
"total_distinct_ai_bots": "example",
"total_distinct_categories": "example",
"total_distinct_known_bots": "example",
"total_transactions": "example",
"total_transactions_sentiment": "example",
"total_transactions_trend": 1
}

Returned when operation is not authorized.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when there is no permission to access resource.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when resource is not found.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation on resource is conflicting with current value.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation has been rejected as it is happening too frequently.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server encountered an error in processing API.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when service is unavailable temporarily.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server timed out processing request.

Media typeapplication/json
string format: string
Examplegenerated
example