Skip to content

risks.listByProgram

Type: query Module: convex/risks.ts

{
programId: Id<"programs">,
severity: severityValidator /* optional */,
status: statusValidator /* optional */,
}

List risks for a program with optional severity and status filters. Returns enriched records with resolved workstream names and owner names, sorted by severity (descending) then title. @param programId - The program to query