Skip to main content
GET
Get threat prevention statistics

Authorizations

Authorization
string
header
required

Personal Access Token (PAT) passed in the Authorization header (e.g., Bearer <pat>) for authenticated API requests. PATs are generated via /auth/generate-pat after authenticating through the magic link flow.

Query Parameters

org_id
string

Organization ID (falls back to user's selected organization if not provided)

Example:

"60c72b2f5f1b2c001c8e4b1a"

Response

Threat prevention stats retrieved

success
boolean
Example:

true

message
string

Present only when the returned data is empty, explaining why. One of "No organization selected", "No VPN configuration found for selected org", "VPN configuration not found", "VPN private config not available", or "No log data available".

Example:

"No organization selected"

data
object