get_codelist
Retrieve codes and values from an SDMX codelist to specify valid dimensions for your data queries.
Instructions
Get codes and values for a specific codelist.
Codelists define the allowed values for dimensions (e.g., country codes, commodity codes).
Use this to find the exact codes needed for your data query.
Args:
codelist_id: The codelist identifier
agency_id: The agency (uses session endpoint if not specified)
version: Version (default: "latest")
search_term: Optional search term to filter codes
endpoint: Optional endpoint key (e.g. "FBOS", "ECB") to target a
specific provider for this call only. Defaults to the session's
current endpoint.
Returns:
Dictionary with codelist information and codes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | latest | |
| endpoint | No | ||
| agency_id | No | ||
| codelist_id | Yes | ||
| search_term | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||