Skip to content

List organization risks

GET
/v1/risks
curl --request GET \
--url 'https://api.varman.io/v1/risks?title=data%20breach&page=1&perPage=50&sort=createdAt&sortDirection=asc&status=open&category=customer&department=it&assigneeId=mem_abc123def456' \
--header 'X-API-Key: <X-API-Key>'

List organization risks with owners, departments, severity, mitigation status, and evidence for risk management reporting.

title
string

Example

data breach

Search by title (case-insensitive contains)

page
number
default: 1 >= 1

Example

1

Page number (1-indexed)

perPage
number
default: 50 >= 1 <= 250

Example

50

Number of items per page

sort
string
default: createdAt
Allowed values: createdAt updatedAt title status

Sort by field

sortDirection
string
default: desc
Allowed values: asc desc

Sort direction

status
string
Allowed values: open pending closed archived

Filter by status

category
string
Allowed values: customer fraud governance operations other people regulatory reporting resilience technology vendor_management

Filter by category

department
string
<= 64 characters

Example

it

Filter by department. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.

assigneeId
string

Example

mem_abc123def456

Filter by assignee member ID

Risks retrieved successfully

Media typeapplication/json
object
data
Array<object>
object
id

Risk ID

string
title

Risk title

string
description

Risk description

string
category
string
Allowed values: customer governance operations other people regulatory reporting resilience technology vendor_management
status
string
Allowed values: open pending closed archived
likelihood
string
Allowed values: very_unlikely unlikely possible likely very_likely
impact
string
Allowed values: insignificant minor moderate major severe
treatmentStrategy
string
Allowed values: accept avoid mitigate transfer
assigneeId

ID of the user assigned to this risk

string
nullable
createdAt

When the risk was created

string format: date-time
updatedAt

When the risk was last updated

string format: date-time
count

Total number of risks

number
authType

How the request was authenticated

string
Allowed values: api-key session
authenticatedUser

User information (only for session auth)

object
id
string
email
string

Example

{
"data": [
{
"id": "rsk_abc123def456",
"title": "Data breach vulnerability in user authentication system",
"description": "Weak password requirements could lead to unauthorized access to user accounts",
"category": "customer",
"status": "open",
"likelihood": "very_unlikely",
"impact": "insignificant",
"treatmentStrategy": "accept",
"assigneeId": "mem_abc123def456"
}
],
"count": 15,
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}

Unauthorized - Invalid authentication or insufficient permissions

Media typeapplication/json
object
message
string

Example

{
"message": "Invalid or expired API key"
}

Organization not found

Media typeapplication/json
object
message
string

Example

{
"message": "Organization with ID org_abc123def456 not found"
}

Internal server error

Media typeapplication/json
object
message
string

Example

{
"message": "Internal server error"
}