For the complete documentation index, see llms.txt. This page is also available as Markdown.

Case Text Search

Get cases by full-text search (string).

GET https://clearinghouse.net/api/v2p1/cases/?text=search_string

Headers

Name
Type
Description

Authorization*

String

Authorization

Token XXXXXXXXXXX

where

XXXXXXXXXXX

is the token string

Returns all cases that have at least one document matching the search query. Note: this search uses the same index as the Document text search. Searching cases by text returns cases that have at least one document matching the query. Search is powered by PostgreSQL full-text search and runs across the following fields, in descending order of relevance weight:

Field
Weight

Case name

A (highest)

Document title

B

Case summary

C

Document text

D (lowest)

Queries are matched using PostgreSQL's SearchQuery, which supports natural language stemming (e.g. "running" matches "run"). Multi-word queries are treated as AND by default — all terms must appear somewhere across the searched fields.

Example

https://clearinghouse.net/api/v2p1/cases?text=solitary+confinement

Last updated