pk_get_decision
Fetch the complete text of a Pakistani Supreme Court judgment by providing its registry citation or dataset row index.
Instructions
Fetch one Supreme Court judgment's full text, by row index or registry citation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | No | registry file id, e.g. ``"Crl.A.93_2013.pdf"`` (used when ``row_idx`` is not given). | |
| row_idx | No | 0-based dataset row index from ``pk_case_search`` (preferred). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | No | ||
| content | No | ||
| eli_uri | No | ||
| row_idx | Yes | ||
| eli_note | No | Pakistan has not deployed ELI. For statutes, eli_uri is the canonical Ministry of Law and Justice PDF URL (https://pakistancode.gov.pk/pdffiles/{law_id}); for judgments it is the HuggingFace dataset row URI. Stable and resolvable, never invented. | |
| byte_size | No | ||
| truncated | No | ||
| source_url | No | ||
| dataset_note | No | Corpus-based connector: judgments come from the Ibtehaj10/supreme-court-of-pak-judgments dataset on HuggingFace (1,414 Supreme Court of Pakistan judgments, full text, MIT), a static snapshot from 2024-07-26 covering a SUBSET of the Court's output - absence of a judgment here does not mean it does not exist. | |
| human_readable_citation | No |