Citation graph
get_citation_subgraphReturn a filtered citation subgraph for graph exploration.
Uses the same filters as search_cases. Returns node/edge counts, the most-
cited authorities in the match set, and edge-type breakdown when the match
set is at or below the cap. When too many authorities match, returns the
total count and asks you to narrow filters — same guard as the Explorer UI.
Args:
query: Natural language search (e.g. "unfair dismissal", "section 20 consultation")
domain: Legal domain slug (e.g. "employment", "landlord-tenant")
court: Court code (e.g. "UKSC", "EWCA-Civil", "FTT-Property")
year_from: Earliest year to include
year_to: Latest year to include
respondent: Defending party name — substring match
claimant: Bringing party name — substring match
disposition: Case outcome (allow, dismiss, grant, quash, refuse, remit)
judgment_status: Status of judgment (approved, draft, handed down)
appeal_from: Citation of the decision appealed from — substring match
cited_by_min: Minimum citation count (only show influential cases)
jurisdiction: "England & Wales", "Scotland", "United Kingdom"
topic: Legal topic slugs — multi-select
cap: Max authorities to include in the graph (default 500, max 500)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | ||
| court | No | ||
| query | No | ||
| topic | No | ||
| domain | No | ||
| year_to | No | ||
| claimant | No | ||
| year_from | No | ||
| respondent | No | ||
| appeal_from | No | ||
| disposition | No | ||
| cited_by_min | No | ||
| jurisdiction | No | ||
| judgment_status | No |