fetch
Read one document, or one passage in its context, by the id search, documents or citations gave.
A passage id (the id of a search result) returns the document's card and that passage with
the one before and after it. A document id (document_id) returns the document's text,
verbatim, with a [p. N] marker before each page, up to 60,000 characters; beyond that the answer
says truncated: true and next names the read call for the following pages.
Returns id, title, text, url (the publisher's address: cite it) and metadata (the
card: instrument, kind, publisher, published date, pages, classification, Court-written
abstract for rulings when present, and cited_by:
how many documents in the corpus amend, repeal or cite this one). Next: read for more
pages or one article, citations for what it applies and what changed it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |