Versions between two dates
compare_provision_versionsSign-in required: call connect(email) and connect_verify first (free, one email) unless this connection is already signed in. What changed in an act (or one article) between two dates: the version in force on from_date (the baseline) against the one on to_date, and every change that took effect in between, each with its own įsigaliojimo data. Any window works. Returns version metadata and register links. With article, held editions also supply its wording on both dates and a word-level redline; missing wording is reported as not held, never reconstructed from register notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | `compact` (the default for a list of articles or a whole act): per article whether it changed, both wordings' dates, the edits and the changed paragraphs - no whole wordings. `full` (the default for one article) adds each article's wording on both dates and the marked text. | |
| article | No | Optional article (`1.125`, `57`, or `58 str. 3 d. 4 p.` for one point): its wording on both dates and a word-level redline (`[-deleted-]`, `{+inserted+}`) where the act's editions are held, plus its own changes in the window from the register's notes. A list (`['57','65','89']` or `57, 65, 89`, up to 25) answers each under `articles` in one call. Without `article` the answer lists EVERY article whose words changed in the window (`articles_changed`, with shortened redlines). | |
| 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. | |
| to_date | Yes | The later date, `YYYY-MM-DD` (today, say). Must be on or after from_date. | |
| from_date | Yes | The earlier date, `YYYY-MM-DD` (a contract date, say). The version in force on it is the baseline; any date works. | |
| act_number | No | Alternative to document_id: the act number or code (`VIII-1864`, `CK`). A list (`['DK','CK','XI-2159']` or `DK, CK, XI-2159`, up to 20) checks every act's window in one call, one compact row each under `acts` (no `article` then). | |
| amended_by | No | Optional amending act number (`XV-1058`): with no `article`, keep only the articles whose new wording the register credits to that act - 'what does this amendment change'. | |
| document_id | No | The act to compare, by search hit id. An article id (with `#`) resolves to its act. | |
| jurisdiction | No | Which jurisdiction the act belongs to (`LT`). Omit for the account's own. |