Show a decision
Tool name: get_decision
One decision by identifier, ECLI or case file number: details, text by paragraph, headnote, receipt.
What it does
Returns one court decision: its metadata, the stored text in numbered paragraphs, the published headnote if there is one, and a provenance receipt. If LEXOMA keeps only the metadata, the tool says so and returns the text as null, never as an empty page. We serve the text of an ECtHR decision only from the Slovak, English or French version of the judgment. The Slovak version is 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. If you open the decision by ECLI and there are several such versions, the tool returns the Slovak one if there is one, otherwise the English, otherwise the French. The metadata (title, date, ECLI) is always given. For another version, or for a language we cannot determine, text and passages are null, text_available is false and text_unavailable_reason is text_withheld_by_source. The text_not_served field then gives the reason (reason), the language (language) and a link to the decision in HUDOC (hudoc_url), if we have one. If we have no stored text for such a version, the reason stays metadata_only or download_failed and text_not_served is null. The court_words field is returned only beside returned text and only for sources where we may say what the text is: it states whether the text is our rendering of the text the court published, or an official translation of an ECtHR judgment (not the court's own words), always with a rendering note (possible recognition errors and inserted links; the court's own URL is authoritative) and, for European courts, the language of the text. The text_available field does not imply this: it says only that we hold the text and return it. If the returned record is a translation of an ECtHR judgment (for example the Slovak translation), the authentic_versions field lists the authentic texts of the judgment in HUDOC, English and French where they exist (language, hudoc_itemid, url), English first. The English and French texts are authentic; the Slovak translation is not. It is null for a record in English or French, for a language we cannot determine, for other courts, and when we have no HUDOC identifier of the authentic text. Null also means the pointer could not be read, so null does not prove there is no authentic text.
Inputs
| Name | Type | Description |
|---|---|---|
id | text | The identifier of the decision as returned by another tool. |
ecli | text | ECLI, exact match. |
case_file_number | text | Case file number, exact match; several decisions may share it. |
court | text | Narrows a case file number shared by several courts. |
passage, passage_end | numbers | Returns only selected paragraphs instead of the whole text; a range has at most 50 paragraphs. |
max_chars | number | A cap on the returned text (40 000 by default, at most 200 000 characters); the answer says if it was truncated. |
What it returns
- The court, case file number, ECLI, form of the decision, publication and decision dates and the official link; if the link opens a whole volume of a collection, the answer says so.
- The text in numbered paragraphs, which can be addressed by number in a further call; every published headnote, if there is one (if the decision was published in a collection more than once, each publication separately). If a language model transcribed that text from an issue of the R collection, the provenance field of the entry says model and a transcription error is possible.
- A provenance receipt, which in the verify_citations tool changes a citation’s provenance from “exists” to “was returned”.
- A case file number shared by several decisions returns candidates instead of picking one.
Notes
- Deterministic, no language model.
- Every call counts towards the monthly call limit; a call rejected before processing does not count.