get_legislation
Retrieve one act by CELEX ID, Lex-Ray ID, nickname, or uk-/eu- prefix. 'meta' is the bibliographic record (titles, dates, Official Journal reference, EuroVoc concepts, amendments and relationships to other acts) and needs no credentials. 'data' adds the parsed legal content — recitals, articles, annexes, definitions — and 'full' adds the rendered HTML. Every level carries a currency block: the day the answer was computed for, the commencement state on that day, and which version of the act is in force. Every answer also carries pending_amendments: proposals that propose to amend this act, each labelled in_flight / concluded / unknown, stamped with the reading date it was resolved against. These are PROPOSED, not enacted — never quote one as law.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Level of detail: 'meta' (titles, dates, OJ reference, classifications) | meta |
| celex_id | Yes | The CELEX ID, Lex-Ray ID, nickname, or jurisdiction-prefixed nickname (e.g., '32016R0679', 'FCA-TS-s140', 'gdpr', 'uk-gdpr') | |
| fetch_if_missing | No | Live fetch fallback: false only for this caller; unknown acts return structured not_found without an outbound EUR-Lex fetch |