Block IP addresses and summarize traffic through the API
The REST API can now block a client IP address or its network, unblock it, list blocked addresses, and check whether an address is blocked, like Block IP in the Stream. Blocking adds the address to the team's Blocked IPs list and creates the blocking rule and action when needed, so the token needs the write scopes for both IP lists and rules.
The traffic summary in the API and the summarize-traffic MCP tool now also return the top client IPs, networks, domains, and matched rules. Each point in the time series is broken down by result, so you can chart proxied, blocked, and rate-limited requests like the dashboard. See the IP lists API reference.