Recap Document
crime__recap-documentRetrieve court documents from RECAP Archive using CourtListener IDs to access filing metadata, text extraction, and PDF download URLs for legal research and analysis.
Instructions
[Crime & Law Enforcement Agent] Fetch a single filing (motion, order, brief, exhibit) from RECAP by its CourtListener document id. Returns document metadata (entry number, page count, filed date, description), the plain-text extraction CL has on file when available, and a download URL for the PDF. Source: CourtListener RECAP Archive / Free Law Project (Open Access (public court records)), updates daily. Returns the Katzilla envelope { data, quality, citation } — quality scores freshness/uptime/confidence; citation carries the source URL, license, and a SHA-256 data hash for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | CourtListener recap-document id (integer). Get this from recap-search results or from the docket_entries of a recap-docket response. | |
| include_text | No | Include the plain-text extraction in the response. Set false to return metadata only — extracted text can be tens of KB per document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured payload from the upstream source. | |
| text | No | Pre-rendered text representation, when applicable. | |
| quality | Yes | Quality scorecard: freshness, uptime, completeness, confidence, certainty. | |
| citation | Yes | Provenance block — source, license, retrieval timestamp, SHA-256 data hash, pre-formatted citation text. |