Search case law
Tool name: search_case_law
Decisions by provision, case file number or ECLI, or across the whole index on explicit request.
What it does
Finds court decisions by the address of a provision (an act and optionally a section), by ECLI or case file number, or — only if you explicitly ask for it — across the whole index. Results come in named evidence groups; each group has its own status, its own coverage statement and its own error.
The holdings group contains the generalised rule the decision applied (a paraphrase), together with the court’s verbatim passage (for the ECtHR, see Notes). The headnotes group adds the published headnotes of the Collection of Opinions of the Supreme Court and Decisions of the Courts of the Slovak Republic (marked R) and of the Collection of Opinions and Decisions of the Supreme Administrative Court of the Slovak Republic (marked ZNSS), each with its collection designation. The judgment_text group searches the indexed text of decisions across the whole index, including those without a holding (only with whole_index); a result identifies the decision but carries no paraphrase and no passage of the court. It applies only the jurisdictions filter: with any other filter the group is not searched (as a default group it is skipped, when requested it is rejected).
Inputs
| Name | Type | Description |
|---|---|---|
address | object | The act as a collection number (40/1964 Zb.), an identifier or the full title, and the section (420, čl. 20). An abbreviation alone is rejected. |
ecli, case_file_number | text | Exact lookup; may return several decisions. Send one, not both. |
whole_index | yes/no | Explicit consent to searching without an address or identifier. Requires question. |
question | text | The legal question. It ranks the selected set; on its own it does not decide what is searched. |
court, jurisdictions, decided_from, decided_to | filters | Hard filters. The dates bound the publication date, not the decision date. |
evidence_types | list | holdings by default; with whole_index headnotes, holdings and judgment_text, each as a separate ranking; headnotes comes first. |
sort | text | relevance (default), authority (court level, not correctness) or published (publication date). |
limit | number | 1 to 20 per group. |
What it returns
- For each requested group, its status (ok, empty or failed), results, count and coverage; on failure, the reason.
- A result of the holdings group carries the decision with its publication date, the paraphrase of the rule, the court’s verbatim passage (for the ECtHR, see Notes) and the provisions it rests on.
- A result of the judgment_text group carries the decision, its title and the court level, without the text of the decision; text_available: false marks a decision stored as metadata only.
- A signed receipt covers the decisions returned.
- When the holdings group returns results, the call result carries the marker ai_generated: true in the _meta field (together with the ai_marking_schema field), because it contains text written by a model: the paraphrase of the rule, which the model wrote in advance when the decision was processed, not during the call. A result without such text carries no marker.
Notes
- The paraphrase of the rule is not the court’s wording — only the quoted passage is.
- We serve a passage of an ECtHR decision only from the version the result comes from, and only if that is the Slovak version (a translation by the Ministry of Justice of the Slovak Republic from Slov-lex, or a translation in HUDOC whose rights holder is the Slovak Republic), the English version or the French version. Another version, or a version whose language we cannot determine, is not served. When a result from a served version of the same judgment cites the same paragraph with a verified passage, the result from the unserved version is attached to it, and you will find its document in also_held_in of that result. It is not attached if the search finds more than one rule in that paragraph of either of the two versions. Otherwise the result of the holdings group stays in the list with its metadata (title, date, ECLI), but its evidence.passage is empty and evidence.verified is false. The reason is in evidence.text_not_served (reason, language, and hudoc_url if we have the HUDOC identifier). If another version of the same judgment is served, evidence.text_not_served.served_version_id gives its id, preferring the Slovak version, then the English, then the French. When searching the whole index (whole_index), served_version_id is always null and a result from an unserved version is not attached to another result. It is also null when the versions of the judgment could not be loaded or were not loaded in time. In that case, too, a result from an unserved version is not attached to another result.
- Holdings cover only some decisions. An empty result means “nothing in this index”, not that the courts have not decided.
- The tool does not say whether a view has been overruled.
- The connector does not write the answer itself; no model generates text during the call.
- If you send question, its text is sent to a model that does not generate text but turns the question into a vector for searching and ranking by meaning (IONOS SE, Berlin, DE; if unavailable, OVHcloud, FR). When searching the whole index (whole_index), a second model also ranks the results by how well they match the question (IONOS SE, Berlin, DE): holdings only with relevance ranking (the default), the indexed text of decisions (judgment_text) always, also with authority or published ranking; it does not rank headnotes. The current list of sub-processors is in Annex No. 2 of the processing terms.
- Searching by address, ECLI or case file number without question calls no model.
- If ranking fails, the tool returns the results in their pre-ranking order; the order therefore also depends on the provider’s availability.
- A whole-index call can take up to 8 s.
- Every call counts towards the monthly call limit; a call rejected before processing does not count.