Skip to content

Get organization risk

GET
/v1/risks/{id}
curl --request GET \
--url https://api.varman.io/v1/risks/rsk_abc123def456 \
--header 'X-API-Key: <X-API-Key>'

Retrieve one organization risk with owner, department, likelihood, impact, mitigation, and remediation context.

id
required
string

Example

rsk_abc123def456

Risk ID

Risk retrieved successfully

Media typeapplication/json
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
department
string
nullable
Allowed values: none admin gov hr it itsm qms
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
residualLikelihood
string
Allowed values: very_unlikely unlikely possible likely very_likely
residualImpact
string
Allowed values: insignificant minor moderate major severe
treatmentStrategyDescription
string
nullable
treatmentStrategy
string
Allowed values: accept avoid mitigate transfer
organizationId
string
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
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

{
"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",
"department": "none",
"status": "open",
"likelihood": "very_unlikely",
"impact": "insignificant",
"residualLikelihood": "very_unlikely",
"residualImpact": "insignificant",
"treatmentStrategyDescription": "Implement multi-factor authentication and strengthen password requirements",
"treatmentStrategy": "accept",
"organizationId": "org_abc123def456",
"assigneeId": "mem_abc123def456",
"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"
}

Forbidden - User does not have permission to access this risk

Media typeapplication/json
object
message
string

Example

{
"message": "You do not have access to view this risk"
}

Risk not found

Media typeapplication/json
object
message
string

Example

{
"message": "Risk with ID rsk_abc123def456 not found in organization org_abc123def456"
}

Internal server error

Media typeapplication/json
object
message
string

Example

{
"message": "Internal server error"
}