Metadata / schema for a specific Statistics Estonia table
Changed onReturn the schema for a PxWeb table: title, dimensions (codes and labels in Estonian), admissible value codes, and which dimension is the time axis. Pass path so Sugra can locate the parent folder (the client does not maintain a static table->path map); table_id may include the .px / .PX extension or omit it - Sugra resolves the correct extension from the tree listing.
Request
- Base URLhttps://sugra.ai
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Statistics Estonia table id (e.g. IA002.px, RAA0012.PX, or just IA002).
Query parameters
Slash-separated parent path for the table (e.g. majandus/hinnad).
Response
Table schema plus upstream metadata with a UTC-normalised updated timestamp.
Example response
{
"data": {
"table_id": "IA002.px",
"path": "majandus/hinnad/IA002.px",
"title": "IA002: CONSUMER PRICE INDEX, 1997 = 100 (MONTHS)",
"variables": [
{
"code": "Aasta",
"text": "Year",
"time": true
}
],
"metadata": {
"updated": "2026-04-06T16:36:44Z",
"label": "IA002: CONSUMER PRICE INDEX, 1997 = 100 by Year, Commodity group and Month",
"source": "Statistics Estonia"
}
},
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"source_url": "https://fred.stlouisfed.org/series/UNRATE",
"citation": "Federal Reserve Bank of St. Louis (FRED) - Unemployment Rate (UNRATE) - https://fred.stlouisfed.org/series/UNRATE - retrieved 2026-11-02",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- breaking
added
subschema #1to the response bodyoneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
This list may be incomplete.
- breaking