Skip to content
Tools/Areas & Change Log/get_area_graph

get_area_graph

Return the sub-graph (entities and edges) scoped to a product area.

Areas & Change Logatomic (read-only)

Arguments

area_idstringrequired

The product area node ID

depthnumberoptional

How many levels deep to traverse (default 3, max 10)

Returns

Shape
{ area, nodes, edges, node_count, edge_count }

May include a degraded block when the response was auto-trimmed.

Warnings

Pre-flight payload guardrail: refuses above `UPG_MCP_PAYLOAD_HARD_LIMIT` (default 150 KB), warns above `UPG_MCP_PAYLOAD_SOFT_LIMIT` (default 50 KB). Reduce `depth` or use `query` with a tight projection if the area has many neighbours.

Auto-degrade: between soft and hard, the server may compact edges, drop optional node fields, or truncate. Surfaced as `degraded.applied[]` on the response.

See Also