GET
The tenant's posture over time, by kind, and by asset

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

The posture.

GET /stats/posture. "Open" means open, triaged or reopened, the same predicate as /stats, so the two never disagree about the backlog. Archived assets are excluded from the asset figures and the ranking.

window_days
integer
required

Days in the trend. Currently always 30.

trend
object[]
required

Exactly window_days entries, oldest first, ending today (UTC). Days with no movement are present with zeros.

kind_counts
object
required

Open findings by kind. All seven kinds are always present.

known_exploited_open
integer
required

Open findings in a public exploited-vulnerabilities catalogue.

fixable_open
integer
required

Open vulnerabilities whose advisory names a fixed version.

resolved_in_window
integer
required

Findings resolved within the trend window; the sum of trend[].resolved.

mttr_hours
number | null
required

Mean hours from first seen to resolved, for findings resolved in the window, to one decimal place. null when none were.

assets_by_kind
object
required

Active assets by kind. Only kinds the tenant has appear.

assets_scanned_7d
integer
required

Active assets scanned in the last seven days.

top_assets
object[]
required

Up to five active assets with open findings, ordered by critical, then high, then total open. Empty, never null.

Maximum array length: 5