Document and contents
get_documentRead-onlyIdempotent
Sign-in required: call connect(email) and connect_verify first (free, one email) unless this connection is already signed in. A document's identity and its table of contents (turinys), WITHOUT its text. Call this before reading: the Civil Code (Civilinis kodeksas) runs to 1.7 million characters. Ids come from search results (įstatymas or nutartis).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | The `session` value the sign-in returned. Pass it on every call in this conversation, so the sign-in survives however this client handles connections; omit it when the user connected with Sign in (OAuth) or a key. | |
| document_id | Yes | The `id` of a search hit, or the `document.id` beside it. NOT `document.number`, which is the act's official number (`XIII-2221`) and is not an id. | |
| jurisdiction | No | Which jurisdiction the id belongs to (`LT`). Omit for the account's own. |