GET
The tenant's security posture in one request

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Response

200 - application/json

Assets, open findings by severity, status and SLA, in-flight scans.

GET /stats.

assets
integer
required

Active assets.

open_findings
integer
required

The sum of severity_counts.

severity_counts
object
required

Open findings by severity. Only severities with an open finding appear.

queued_scans
integer
required
running_scans
integer
required
status_counts
object
required

Open findings by lifecycle status. All three are always present.

sla
object
required
finding_breakdown
object[]
required

Open findings by finding kind, asset kind and severity, ordered by those three. Cells with no finding are absent; the counts sum to open_findings. Empty, never null.

last_scan_at
string<date-time> | null

When the most recent scan completed; null when none has.