---
title: "Get wallet risk graph summary for a single entity"
method: POST
path: "/copilot/wallet/riskgraph/{direction}/{screeningId}"
tags: ["Screenings"]
---

# Get wallet risk graph summary for a single entity

`POST /copilot/wallet/riskgraph/{direction}/{screeningId}`

Returns an AI-generated summary of the risk graph for a wallet in the specified direction, scoped to a single entity provided in the request body

## Path parameters

- `direction` 'forwards' | 'backwards', required
- `screeningId` string, uuid, required

## Request body

- RiskGraphEntity — A single entity in a risk graph, used when requesting graph analysis scoped to a specific entity
  - `name` string — Entity name
  - `perc` number, required — Direct exposure percentage
  - `usd` number, required — Direct exposure in USD
  - `indirect_perc` number — Indirect exposure percentage
  - `indirect_usd` number — Indirect exposure in USD
  - `min_hops` number — Minimum number of hops to the entity in the graph
  - `category` string — Entity category

## Response `200`

AI-generated wallet risk graph summary for the given entity

## Other responses

- `400` — Bad request - Invalid input parameters
- `401` — Unauthorized - Missing or invalid authentication token
- `403` — Forbidden - Insufficient permissions
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/elliptic/apis/ai-api.md) · [All operations](https://skmtc.net/elliptic/apis/ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elliptic/ai-api/versions/4a97f07f10ff/schema)
