Skip to main content
Every subcommand except takedown-time-trend defaults to the trailing 3 months when you give no date range. Pass --from and --to for an explicit window, or --this-week for the current ISO week. A date-only --to covers the whole day.

metrics summary

Summary metrics for an organization over a date range.

metrics found

Count of newly found threats — the customer-facing “new threats” number. Same options as metrics summary.

metrics breakdown

Threat counts grouped by an axis.

metrics takedown-time

Median time from takedown start to completion: one overall median across every takedown in scope, plus one per asset type.
Crypto addresses (ADDRESS) are left out unless you ask for them with --asset-type ADDRESS or --asset-group CRYPTO. An address is reported on many sites at once, so its takedown time would skew the median for domains and socials.

metrics takedown-time-trend

Median time from takedown start to completion for each month over a trailing window, with the change from the month before.
As with takedown-time, crypto addresses are left out unless you pass --asset-type ADDRESS.

metrics time-to-detection

How long threats were already live before ChainPatrol’s first automated detection, per asset type. It covers assets your organization blocked in the date range that are still blocked. The clock runs from when the asset was first seen live to its earliest automated detection; a report from a person doesn’t stop it. Each number is a minimum and comes with how many blocked assets it measures.

metrics organization

The documented GET /organization/metrics endpoint, including its multi-organization rollup. Works with organization-scoped API keys (single org only), user API keys (multi-org allowed, inheriting the user’s permissions), and session auth.
--include accepts reports, newThreats, threatsWatchlisted, takedownsFiled, takedownsCompleted, domainThreats, twitterThreats, telegramThreats, otherThreats, blockedByType, blockedByDay. Fields you leave out come back as null, so narrowing --include is the cheapest way to speed up a wide query. A multi-organization response carries totals, per-day and per-organization-per-day averages, and a per-organization breakdown.
metrics org is accepted as an alias for metrics organization.