## Get risk event/score information for a specific user `client.zeroTrust.riskScoring.get(stringuserId, RiskScoringGetParamsparams, RequestOptionsoptions?): RiskScoringGetResponse` **get** `/accounts/{account_id}/zt_risk_scoring/{user_id}` Retrieves the detailed risk score breakdown for a specific user, including contributing factors. ### Parameters - `userId: string` - `params: RiskScoringGetParams` - `account_id: string` ### Returns - `RiskScoringGetResponse` - `email: string` - `events: Array` - `id: string` - `name: string` - `risk_level: "low" | "medium" | "high"` - `"low"` - `"medium"` - `"high"` - `timestamp: string` - `event_details?: unknown` - `name: string` - `last_reset_time?: string | null` - `risk_level?: "low" | "medium" | "high"` - `"low"` - `"medium"` - `"high"` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const riskScoring = await client.zeroTrust.riskScoring.get('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { account_id: 'account_id', }); console.log(riskScoring.email); ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": { "email": "email", "events": [ { "id": "id", "name": "name", "risk_level": "low", "timestamp": "2019-12-27T18:11:19.117Z", "event_details": {} } ], "name": "name", "last_reset_time": "2019-12-27T18:11:19.117Z", "risk_level": "low" }, "result_info": { "count": 1, "page": 1, "per_page": 20, "total_count": 2000, "total_pages": 100 } } ```