List organization risks
Changed onList organization risks with owners, departments, severity, mitigation status, and evidence for risk management reporting.
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Query parameters
Search by title (case-insensitive contains)
Page number (1-indexed)
Number of items per page
Sort by field
Sort direction
Filter by status
Filter by category
Filter by department. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.
Filter by assignee member ID
Response
Risks retrieved successfully
Example response
{
"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": "technology",
"status": "open",
"likelihood": "possible",
"impact": "major",
"treatmentStrategy": "mitigate",
"assigneeId": "mem_abc123def456"
}
],
"count": 15,
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}Changes
- breaking
removed the enum value
adminfrom thequeryrequest parameterdepartment - breaking
removed the enum value
govfrom thequeryrequest parameterdepartment - breaking
removed the enum value
hrfrom thequeryrequest parameterdepartment - breaking
removed the enum value
itfrom thequeryrequest parameterdepartment - breaking
removed the enum value
itsmfrom thequeryrequest parameterdepartment - breaking
removed the enum value
nonefrom thequeryrequest parameterdepartment - breaking
removed the enum value
qmsfrom thequeryrequest parameterdepartment - warning
for the
queryrequest parameterdepartment, the maxLength was set to64
- breaking
- breaking
the
queryrequest parameterdepartmentwas restricted to a list of enum values - info
added the new enum value
adminto thequeryrequest parameterdepartment - info
added the new enum value
govto thequeryrequest parameterdepartment - info
added the new enum value
hrto thequeryrequest parameterdepartment - info
added the new enum value
itto thequeryrequest parameterdepartment - info
added the new enum value
itsmto thequeryrequest parameterdepartment - info
added the new enum value
noneto thequeryrequest parameterdepartment - info
added the new enum value
qmsto thequeryrequest parameterdepartment
- breaking