---
title: "Fan-out impact analysis before a belief update (T362)"
method: GET
path: "/api/contexts/{id}/blast-radius"
tags: ["Contexts"]
---

# Fan-out impact analysis before a belief update (T362)

`GET /api/contexts/{id}/blast-radius`

## Request

- Base URL: `http://localhost:38200`
- URL: `http://localhost:38200/api/contexts/{id}/blast-radius`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `token`

Bounded BFS over context_links (derived_from/supersedes/implements) plus referencing goal_nodes and agent_lessons. `depth` is clamped to [1,3] and `top` to [1,50] by the service regardless of the value requested.

## Path parameters

- `id` integer, required

## Query parameters

- `depth` integer
- `top` integer

## Response `200`

Fan-out summary + highest-impact nodes.

- object
  - `contextId` integer
  - `contextName` string
  - `totalFanOut` integer
  - `threshold` integer
  - `exceedsThreshold` boolean
  - `depthReached` integer
  - `truncated` boolean
  - `contextLinkCount` integer
  - `goalNodeCount` integer
  - `agentLessonCount` integer
  - `topNodes` object[]
    - `id` integer
    - `name` string
    - `kind` 'context' | 'goal_node' | 'agent_lesson'
    - `linkType` string, nullable
    - `depth` integer
    - `fanOutScore` integer

## Other responses

- `400`: Invalid id, depth, or top.
- `401`: Missing or invalid credentials.
- `404`: Resource not found (or not visible to the caller).

---

[API](https://skmtc.dev/contextq/apis/contextq-api.md) · [All operations](https://skmtc.dev/contextq/apis/contextq-api/llms.txt) · [OpenAPI document](https://skmtc.dev/contextq/apis/contextq-api/revisions/7afc44056a22?raw)
