> ## Documentation Index
> Fetch the complete documentation index at: https://docs.app.strix.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics

> Read dashboard analytics and scan frequency timelines

export const ScarfPixel = () => <img referrerPolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f" alt="" width="1" height="1" style={{
  position: "absolute",
  width: 0,
  height: 0,
  opacity: 0,
  pointerEvents: "none"
}} />;

<ScarfPixel />

Analytics endpoints supply the same aggregate metrics that the dashboard shows.

## Dashboard overview

One unified response contains all the data that the dashboard shows:

* KPIs with deltas against the previous period
* Issues over time (stacked by severity, split by pentest or PR review source)
* Severity breakdown
* Open-vs-fixed and MTTR trends
* Exploitability (KEV and EPSS)
* Top issues and affected assets
* CWE distribution
* Activity heatmap
* PR review metrics (reviews over time split by verdict, findings-addressed rate, top repos and contributors)

```bash theme={null}
curl -X GET "https://app.strix.ai/api/v1/analytics/overview?range=30d" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>"
```

The `range` parameter accepts `7d`, `30d`, `90d`, `all`, or `custom` (with `from` and `to` ISO dates). Stock metrics (security score, open issues, severity breakdown, top issues and assets) always show the current all-time posture. Flow metrics (issues found, PRs reviewed, pentests run) apply only to the selected window.

**Required scope:** `analytics:read`

## Dashboard stats

Severity counts, status counts, and headline metrics for your organization:

```bash theme={null}
curl -X GET "https://app.strix.ai/api/v1/analytics/stats" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>"
```

**Required scope:** `analytics:read`

## Scan frequency

A timeline of scan activity. Use it to make charts of throughput over time:

```bash theme={null}
curl -X GET "https://app.strix.ai/api/v1/analytics/scan-frequency" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>"
```

**Required scope:** `analytics:read`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.