List risk-owner acceptance events
const url = 'https://api.varman.io/v1/risks/rsk_abc123def456/acceptances';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.varman.io/v1/risks/rsk_abc123def456/acceptances \ --header 'X-API-Key: <X-API-Key>'Returns the residual-risk acceptance history for a risk, newest first. Each event freezes the residual rating at acceptance and carries a stale flag set when the risk’s residual rating has changed since (ISO 27001 6.1.3(f)).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
rsk_abc123def456Risk ID
Responses
Section titled “Responses”Acceptance history retrieved successfully (newest first)
object
object
Acceptance event ID
Member ID of the acceptor (null if since removed)
Acceptor display name, frozen at acceptance
Residual likelihood frozen at acceptance
Residual impact frozen at acceptance
Risk level of the accepted residual rating
Human-readable level label
True when the residual rating changed after this acceptance was recorded — re-acceptance is required
When the acceptance was recorded (server-set, immutable)
How the request was authenticated
User information (only for session auth)
object
Example
{ "data": [ { "id": "rska_abc123def456", "acceptedById": "mem_abc123def456", "acceptedByName": "Jane Doe", "notes": "Residual risk reviewed at the Q2 risk review.", "residualLikelihood": "very_unlikely", "residualImpact": "insignificant", "level": "very-low", "levelLabel": "Low", "stale": false } ], "authType": "api-key", "authenticatedUser": { "id": "usr_def456ghi789", "email": "user@example.com" }}Unauthorized - Invalid authentication
object
Example
{ "message": "Invalid or expired API key"}Forbidden - User does not have permission to access this risk
object
Example
{ "message": "You do not have access to this risk"}Risk not found
object
Example
{ "message": "Risk with ID abc123 not found in organization org_abc123def456"}Internal server error
object
Example
{ "message": "Internal server error"}