Trace

Compliance exposure summary

The dashboard headline / Exposure Scan: interactions scanned, the share with a compliance gap, a per-rule exposure ranking, and the verdict mix over a trailing window. Requires the trace:read scope.

get/v1/trace/exposure

Request

  • Base URL: https://api.pyai.com
  • URL: https://api.pyai.com/v1/trace/exposure
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Query parameters

window_daysinteger

Trailing window in days.

Response

Exposure summary

objectstring
window_daysinteger
interactions_scannedinteger
with_a_gapinteger

Interactions whose verdict is not PASS.

gap_ratenumber

with_a_gap / interactions_scanned (0..1).

top_exposurestring nullable

The rule_id affecting the most distinct scored calls.

Example response

{
  "object": "trace.exposure"
}

Changes

No recorded changes to this operation across all 1 revision of this API.