Skip to main content

AdminPidsFindingResponse

@gravity-rail/sdk


@gravity-rail/sdk / AdminPidsFindingResponse

Interface: AdminPidsFindingResponse

A single prompt-injection finding, as returned by the admin API.

Properties​

attackCategories​

attackCategories: Record<string, number>

Per-category combined confidence (0..1).


channel​

channel: string


chatId​

chatId: number | null


confidence​

confidence: number


createdAt​

createdAt: string


detectorVersion​

detectorVersion: string


id​

id: number


langfuseTraceId​

langfuseTraceId: string


memberId​

memberId: number | null


reviewedAt​

reviewedAt: string | null


reviewedByMemberId​

reviewedByMemberId: number | null


reviewerDisposition​

reviewerDisposition: "true_positive" | "false_positive" | "needs_more_context" | null


source​

source: "scheduled" | "backfill" | "pre_llm"

scheduled | backfill | pre_llm.


stage1MatchedPatterns​

stage1MatchedPatterns: string[]

Stage-1 rule names that matched (never raw matched text).


stage2Status​

stage2Status: string


stage2Verdict​

stage2Verdict: Record<string, unknown> | null

Stage-2 LLM judge verdict (per-category quoted spans = PHI).


wazuhEmittedAt​

wazuhEmittedAt: string | null


workspaceUuid​

workspaceUuid: string