saos_search_judgments
Search Polish court judgments in the SAOS database using filters like date, case number, court type, judge name, and legal basis to find relevant legal precedents.
Instructions
Search Polish court judgments in SAOS (System Analizy Orzeczeń Sądowych). Use all for full-text / metadata phrase (SAOS query language: https://www.saos.org.pl/help/index.php/search-query-language). Filter by dates, case number (exact full signature), court ids/codes, judge name, legal base text, judgment types (DECISION, SENTENCE, …). Returns JSON with items[].id, href, textContent snippets, court metadata. For full text use saos_get_judgment with id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Phrase searched across all judgment fields (metadata and text). See SAOS query language in help. | |
| page_size | No | Results per page (API allows 10–100). | |
| page_number | No | Zero-based page index. | |
| sorting_field | No | Sort field, e.g. DATABASE_ID, JUDGMENT_DATE (see SAOS search API docs). | |
| sorting_direction | No | Sort direction. | |
| legal_base | No | Free-text search in legal basis field. | |
| referenced_regulation | No | Search in referenced statutory provision text. | |
| law_journal_entry_code | No | DU position as year/entry, e.g. 2024/123. | |
| judge_name | No | Judge name (query language). | |
| case_number | No | Exact full case signature (not a substring). | |
| court_type | No | Common court level (only when filtering common courts). | |
| cc_court_id | No | SAOS internal common court id. | |
| cc_court_code | No | Source court code digits, e.g. 15500000 for SA Wrocław. | |
| cc_court_name | No | Exact court name including case (e.g. Sąd Apelacyjny we Wrocławiu). | |
| cc_division_id | No | SAOS common court division id. | |
| cc_division_code | No | Division code within one court. | |
| cc_division_name | No | Exact division name. | |
| cc_include_dependent_court_judgments | No | When cc_court_id targets an appeal court: include lower-instance judgments from that circuit. | |
| sc_personnel_type | No | Supreme Court bench size: ONE_PERSON, THREE_PERSON, FIVE_PERSON, SEVEN_PERSON, ALL_COURT, ALL_CHAMBER, JOINED_CHAMBERS. | |
| sc_judgment_form | No | Exact SN judgment form label, e.g. wyrok SN (case-sensitive). | |
| sc_chamber_id | No | SAOS Supreme Court chamber id. | |
| sc_chamber_name | No | Exact chamber name (case-sensitive). | |
| sc_division_id | No | SN chamber division id. | |
| sc_division_name | No | Exact SN division name. | |
| judgment_types | No | Match any of these judgment types (OR). | |
| keywords | No | Thematic keywords (common courts); all listed keywords must match (AND). Exact spelling. | |
| judgment_date_from | No | Lower bound judgment date yyyy-MM-dd. | |
| judgment_date_to | No | Upper bound judgment date yyyy-MM-dd. |