---
title: "Get details for a risk in the platform"
method: GET
path: "/available_risks/risk"
tags: ["risks"]
---

# Get details for a risk in the platform

`GET /available_risks/risk`

## Request

- Base URL: `https://cyber-risk.upguard.com/api/public`
- URL: `https://cyber-risk.upguard.com/api/public/available_risks/risk`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/docs/available_risks/risk/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the details for a risk.

Required API key permissions: `Platform` (select when creating API key in Account Settings)

## Query parameters

- `risk_id` string, required

## Response `200`

Risk details

- AvailableRiskV2
  - `category` string: The category of the risk. This field will be omitted for generic risks
  - `description` string: Description or context surrounding the risk. This field will be omitted for generic risks
  - `finding` string: Description of the finding. This field will be omitted for generic risks
  - `generic` boolean: Flag indicating whether the risks is a generic risk, i.e. a risk where severity, category, finding etc. depend on other parameters
  - `group` string: The risk group
  - `id` string: The ID of the risk
  - `remediation` string: Remediation recommendation. This field will be omitted for generic risks
  - `risk` string: The risk title
  - `riskDetails` string: Detailed description of the risk. This field will be omitted for generic risks
  - `riskSubtype` string: The subtype of the risk, e.g. the subtype of the verified_vuln:CVE-2021-34473 is CVE-2021-34473. This field will be empty if the risk has no subtype, e.g. for wp_version_exposed, or for generic risks like verified_vuln:* where the subtype is only determined when the full risk is specified.
  - `riskType` string: The type of the risk, e.g. the type of the verified_vuln:CVE-2021-34473 is verified_vuln
  - `severity` 'pass' | 'info' | 'low' | 'medium' | 'high' | 'critical': The severity of the risk. This field will be omitted for generic risks

## Other responses

- `422`: An invalid parameter was supplied or a mandatory parameter was missing
- `429`: Too many requests have been made to this endpoint.
- `500`: An internal system error occurred

---

[API](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api.md) - [All operations](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/revisions/d044bf6dc61e?raw)
