docketbird_get_document
Retrieve metadata and download links for a single court document. Check availability, get a direct PDF link, or resolve a document ID to its metadata.
Instructions
Get one document's metadata and download links — without the bytes.
Lightweight lookup for a single filing: title, filing date, restricted
status, and (when retrieved) a direct PDF download link. Use
docketbird_download_document for the file content itself, or
docketbird_get_document_text for the extracted text.
When to use:
- Checking whether a filing is available/restricted before downloading
- Getting a direct PDF link to hand to the user
- Resolving a document ID from search results to its metadata
Args:
document_id: DocketBird document ID (e.g., 'txwd-1:2022-cv-00398-00177')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |