Get detection stats
Return rolling 7d/30d run, hit, and eval-score aggregates for a detection agent. Uses the same detection_hits-table aggregation as the agent list view so the KPI numbers shown on the detail page match the list page.
Authorizations
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Path Parameters
Detection UUID
Response
Successful response
Total completed runs in the last 7 days
x >= 0Total completed runs in the last 30 days
x >= 0Active runs in the last 30 days (running or waiting)
x >= 0Persisted detection hits in the last 30 days
x >= 0Average LLM judge eval score (0-100) over last 30 days; null when no scored runs