authorities

Get Matching Paragraph

Expand a search-result snippet into the whole paragraph it was cut from.

A /search hit's matching_paragraph is a 40-word crop of full_text, so it starts and ends mid-sentence. This resolves that crop back to a single paragraph for "show whole paragraph", without loading the judgment.

found: false when the paragraph cannot be placed — a case with no indexed paragraphs, or a crop that anchors to nothing. The caller keeps showing the crop rather than an unrelated paragraph.

get/authorities/{authority_id}/matching-paragraph

Request

  • Base URL: https://api.casenode.ai
  • URL: https://api.casenode.ai/authorities/{authority_id}/matching-paragraph
  • Auth: none declared

Path parameters

authority_idstring required

Query parameters

qstring

The search query that produced the snippet

snippetstring nullable

The cropped snippet shown to the user, used to disambiguate

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.