Board-deck posture export (CSV / JSON)
GET/api/v1/findings/stats/posture-export
Download the full posture snapshot (remediation + breaches + trends).
The board-deck companion to the three /stats JSON endpoints (issue
): one file carrying MTTR by severity, open-finding aging, the
SLA-breach total, %-within-SLA, the new-vs-resolved flow, and the
cumulative risk-score history. Long-format CSV (one metric per row) keeps
the sheet pivotable; JSON nests the typed responses.
- Scope required:
findings:read. Content-Disposition: attachmentso browsers trigger a save.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
The full posture snapshot serialized for a board deck.
Bad request — malformed input or failed validation.
Missing, expired, or invalid credentials.
Authenticated but not authorized for this resource. Note: cross-organization reads return 404, not 403.
Resource not found, or hidden for tenant-enumeration safety (the caller lacks permission to know whether the resource exists).
Conflict — the current resource state does not allow this operation (e.g. assessment already started, email already in use).
Semantic validation failure — request shape was valid but contents were not.
Too many requests — rate limited. Retry after the window resets.
Internal server error — unexpected failure.