Skip to main content
GET
/
api
/
risk_assessment
/
{id}
Retrieve a specific risk assessment
curl --request GET \
  --url http://localhost/api/api/risk_assessment/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "daily_score": 0,
  "true_hit_date": "2023-11-07T05:31:56Z",
  "rules_affected": [
    123
  ],
  "active_timestamp": "2023-12-25",
  "demerit": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cynopsis.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token obtained from AWS Cognito or custom authentication service

Path Parameters

id
integer
required

A unique integer value identifying this risk assessment.

Response

200 - application/json
id
integer
required
read-only
daily_score
number<double>
required
Required range: -1000 < x < 1000
true_hit_date
string<date-time>
required
rules_affected
integer[]
required
active_timestamp
string<date>
required
demerit
string
required