Decision Structure
Find the Erwägung paragraph(s) that match a legal claim
Server-side FTS5 + BM25 ranking over per-paragraph text. Returns top-k matches with confidence labels (high / medium / low) and a highlighted_snippet showing the matched sentence(s). Refuses to surface a guess when the score gap is weak — fixes the systematic 'pinpoint=3.1 fallback' failure mode.
get/relevant-erwaegung/{decision_id}
Request
- Base URL: https://mcp.opencaselaw.ch/api
- URL: https://mcp.opencaselaw.ch/api/relevant-erwaegung/{decision_id}
- Auth: none declared
Path parameters
decision_idstring required
Decision ID, BGE reference, or docket number
Query parameters
claimstring required
The legal claim or proposition to match against the decision's Erwägungen.
top_kinteger
Number of top matches to return.
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.