Discover Eu Legislation
discover_eu_legislationFind EU legal acts by CELEX/ELI identifier, official title, reviewed alias, or LEXICAL match on title and EuroVoc labels (not semantic); filter by EuroVoc topic id or label, Ansvar sector, document type and availability. Returns bounded candidates with per-edition currency state and hold reasons, a framework crosswalk to eu-regulations where the same act is keyed there, and exact search/lookup hints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | CELEX or ELI identifier, official title fragment, or a short concept phrase. Optional when at least one of topics/sectors/document_types/availability is given (filter-only discovery); a call with neither query nor filters refuses with reason=empty_request. Matching is LEXICAL, not semantic: exact CELEX/ELI, exact official title, reviewed alias, then every query token within ONE title or within ONE EuroVoc label (pref or alt) of the work — never across labels. A short candidate list is a lexical result, not a coverage claim. | |
| cursor | No | ||
| expand | No | with a single-work query (celex_exact/eli_exact hit) return the FULL editions or related list for that work instead of the bounded default | |
| topics | No | EuroVoc concept ids — the last path segment of the concept URI: numeric legacy ids or the hashed `c_<hex>` ids EuroVoc uses for newer concepts (release 4.24 carries both) — OR English EuroVoc labels. A label resolves by exact NFKC case-insensitive match on a pref label, else on an alt label; an unresolved label refuses unknown_filter_value naming up to 20 candidate {id, label} pairs whose label contains every token of the input; a label matching more than one concept refuses ambiguous_topic listing them. applied_filters.topics echoes the RESOLVED ids (the cursor binds those) and disclosures records each label→id resolution. Exact, OR within the list, AND with the other axes | |
| sectors | No | Ansvar sector/domain ids; OR within the list, AND with the other axes | |
| availability | No | ||
| document_types | No |