Case management (read-only): the cases CipherOwl opens from risky
screenings (trackAlert) and from monitoring pools reaching their
openCaseRiskLevels, with their screenings and audit trail. Cases
are worked in the CipherOwl application; the API reads them.
Lists are numbered pages: page (1 to 10000) and pageSize (1 to
100, default 50); responses carry totalCount.
Values
CASES_PATH
CASES_PATH: Str "/api/case-management/v1/cases"
CASE_FILTERS
CASE_FILTERS: Vec [
"investigatorId",
"clientReference",
"network",
"address",
"status",
"createdFrom",
"createdTo",
"pageSize",
"queueStage",
"page",
"muted",
"priority",
"deletedOnly",
"excludeClosed",
"updatedFrom",
"updatedTo"
]
Functions
get-case
fn (case-id: Str): Map
fn (case-id: Str, opts: Map): Map
One case: {case, screeningRoute}.
list-case-audit-events
fn (case-id: Str, options: Map): Map
fn (case-id: Str, options: Map, opts: Map): Map
A case's audit trail. options takes page, pageSize, descending, createdAfter, createdBefore, actorType, and the keyset cursor cursorCreatedAt plus cursorEventSequence.
list-case-screenings
fn (case-id: Str, options: Map): Map
fn (case-id: Str, options: Map, opts: Map): Map
The screenings attached to a case. options takes page and pageSize.
list-cases
fn (filters: Map): Map
fn (filters: Map, opts: Map): Map
One page of cases: {cases, totalCount, page, pageSize}.
list-cases-request
fn (filters: Map): Map
The spec for one page of cases. filters takes CipherOwl's query fields (CASE_FILTERS: status, network, address, clientReference, createdFrom/createdTo and updatedFrom/updatedTo (RFC 3339), excludeClosed, page, pageSize, ...); other keys are ignored. Exposed for testing.