Trace

List violations (findings)

Cursor-paginated drill-down of every fired rule across scorecards. Filter by rule_id, severity, or interaction_id. Requires the trace:read scope.

get/v1/trace/violations

Request

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

Query parameters

rule_idstring
severity'low' | 'medium' | 'high' | 'critical'
interaction_idstring
limitinteger
cursorstring

Response

Violations

objectstring
has_moreboolean
next_cursorstring nullable

Example response

{
  "object": "list",
  "data": [
    {
      "object": "trace.violation",
      "rule_id": "tcpa-003",
      "pack_id": "tcpa"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.