Skip to main content
GET
Compliance exposure summary

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Query Parameters

window_days
integer
default:30

Trailing window in days.

Required range: 1 <= x <= 365

Response

Exposure summary

object
string
Example:

"trace.exposure"

window_days
integer
interactions_scanned
integer
with_a_gap
integer

Interactions whose verdict is not PASS.

gap_rate
number

with_a_gap / interactions_scanned (0..1).

by_rule
object[]
by_verdict
object
top_exposure
string | null

The rule_id with the most occurrences.