A valid request URL is required to generate request examples{
"results": {
"fieldType": "metric",
"type": "percentile",
"name": "<string>",
"label": "<string>",
"table": "<string>",
"tableLabel": "<string>",
"sql": "<string>",
"hidden": true,
"compiledSql": "<string>",
"description": "<string>",
"source": {
"content": "<string>",
"range": {
"end": {
"character": 123,
"line": 123
},
"start": {
"character": 123,
"line": 123
}
},
"path": "<string>",
"highlight": {
"end": {
"character": 123,
"line": 123
},
"start": {
"character": 123,
"line": 123
}
}
},
"compact": "thousands",
"round": 123,
"format": "km",
"groupLabel": "<string>",
"groups": [
"<string>"
],
"urls": [
{
"label": "<string>",
"url": "<string>"
}
],
"index": 123,
"tags": [
"<string>"
],
"parameterReferences": [
"<string>"
],
"showUnderlyingValues": [
"<string>"
],
"filters": [
{
"operator": "isNull",
"id": "<string>",
"target": {
"fieldRef": "<string>"
},
"values": [
"<unknown>"
],
"settings": "<unknown>",
"disabled": true,
"required": true
}
],
"percentile": 123,
"formatOptions": {
"type": "default",
"round": 123,
"separator": "default",
"currency": "<string>",
"compact": "thousands",
"prefix": "<string>",
"suffix": "<string>",
"timeInterval": "RAW",
"custom": "<string>"
},
"dimensionReference": "<string>",
"requiredAttributes": {},
"defaultTimeDimension": {
"interval": "RAW",
"field": "<string>"
},
"spotlight": {
"visibility": "show",
"categories": [
"<string>"
]
},
"aiHint": "<string>",
"tablesRequiredAttributes": {},
"tablesReferences": [
"<string>"
],
"availableTimeDimensions": [
{
"fieldType": "dimension",
"type": "date",
"name": "<string>",
"label": "<string>",
"table": "<string>",
"tableLabel": "<string>",
"sql": "<string>",
"hidden": true,
"compiledSql": "<string>",
"description": "<string>",
"source": {
"content": "<string>",
"range": {
"end": {
"character": 123,
"line": 123
},
"start": {
"character": 123,
"line": 123
}
},
"path": "<string>",
"highlight": {
"end": {
"character": 123,
"line": 123
},
"start": {
"character": 123,
"line": 123
}
}
},
"compact": "thousands",
"round": 123,
"format": "km",
"groupLabel": "<string>",
"groups": [
"<string>"
],
"urls": [
{
"label": "<string>",
"url": "<string>"
}
],
"index": 123,
"tags": [
"<string>"
],
"parameterReferences": [
"<string>"
],
"group": "<string>",
"requiredAttributes": {},
"timeInterval": "RAW",
"timeIntervalBaseDimensionName": "<string>",
"isAdditionalDimension": true,
"colors": {},
"isIntervalBase": true,
"aiHint": "<string>",
"image": {
"url": "<string>",
"fit": "<string>",
"height": 123,
"width": 123
},
"tablesRequiredAttributes": {},
"tablesReferences": [
"<string>"
]
}
],
"timeDimension": {
"interval": "RAW",
"field": "<string>",
"table": "<string>"
}
},
"status": "ok"
}Get metric by table and metric name
A valid request URL is required to generate request examples{
"results": {
"fieldType": "metric",
"type": "percentile",
"name": "<string>",
"label": "<string>",
"table": "<string>",
"tableLabel": "<string>",
"sql": "<string>",
"hidden": true,
"compiledSql": "<string>",
"description": "<string>",
"source": {
"content": "<string>",
"range": {
"end": {
"character": 123,
"line": 123
},
"start": {
"character": 123,
"line": 123
}
},
"path": "<string>",
"highlight": {
"end": {
"character": 123,
"line": 123
},
"start": {
"character": 123,
"line": 123
}
}
},
"compact": "thousands",
"round": 123,
"format": "km",
"groupLabel": "<string>",
"groups": [
"<string>"
],
"urls": [
{
"label": "<string>",
"url": "<string>"
}
],
"index": 123,
"tags": [
"<string>"
],
"parameterReferences": [
"<string>"
],
"showUnderlyingValues": [
"<string>"
],
"filters": [
{
"operator": "isNull",
"id": "<string>",
"target": {
"fieldRef": "<string>"
},
"values": [
"<unknown>"
],
"settings": "<unknown>",
"disabled": true,
"required": true
}
],
"percentile": 123,
"formatOptions": {
"type": "default",
"round": 123,
"separator": "default",
"currency": "<string>",
"compact": "thousands",
"prefix": "<string>",
"suffix": "<string>",
"timeInterval": "RAW",
"custom": "<string>"
},
"dimensionReference": "<string>",
"requiredAttributes": {},
"defaultTimeDimension": {
"interval": "RAW",
"field": "<string>"
},
"spotlight": {
"visibility": "show",
"categories": [
"<string>"
]
},
"aiHint": "<string>",
"tablesRequiredAttributes": {},
"tablesReferences": [
"<string>"
],
"availableTimeDimensions": [
{
"fieldType": "dimension",
"type": "date",
"name": "<string>",
"label": "<string>",
"table": "<string>",
"tableLabel": "<string>",
"sql": "<string>",
"hidden": true,
"compiledSql": "<string>",
"description": "<string>",
"source": {
"content": "<string>",
"range": {
"end": {
"character": 123,
"line": 123
},
"start": {
"character": 123,
"line": 123
}
},
"path": "<string>",
"highlight": {
"end": {
"character": 123,
"line": 123
},
"start": {
"character": 123,
"line": 123
}
}
},
"compact": "thousands",
"round": 123,
"format": "km",
"groupLabel": "<string>",
"groups": [
"<string>"
],
"urls": [
{
"label": "<string>",
"url": "<string>"
}
],
"index": 123,
"tags": [
"<string>"
],
"parameterReferences": [
"<string>"
],
"group": "<string>",
"requiredAttributes": {},
"timeInterval": "RAW",
"timeIntervalBaseDimensionName": "<string>",
"isAdditionalDimension": true,
"colors": {},
"isIntervalBase": true,
"aiHint": "<string>",
"image": {
"url": "<string>",
"fit": "<string>",
"height": 123,
"width": 123
},
"tablesRequiredAttributes": {},
"tablesReferences": [
"<string>"
]
}
],
"timeDimension": {
"interval": "RAW",
"field": "<string>",
"table": "<string>"
}
},
"status": "ok"
}Success
Show child attributes
metric percentile, average, count, count_distinct, sum, min, max, percent_of_previous, percent_of_total, running_total, number, median, string, date, timestamp, boolean Show child attributes
Show child attributes
Show child attributes
thousands, millions, billions, trillions, kilobytes, megabytes, gigabytes, terabytes, petabytes, kibibytes, mebibytes, gibibytes, tebibytes, pebibytes km, mi, usd, gbp, eur, jpy, dkk, id, percent Show child attributes
isNull, notNull, equals, notEquals, startsWith, endsWith, include, doesNotInclude, lessThan, lessThanOrEqual, greaterThan, greaterThanOrEqual, inThePast, notInThePast, inTheNext, inTheCurrent, notInTheCurrent, inBetween, notInBetween This AnyType is an alias for any
The goal is to make it easier to identify any type in the codebase
without having to eslint-disable all the time
These are only used on legacy any types, don't use it for new types.
This is added on a separate file to avoid circular dependencies.
This AnyType is an alias for any
The goal is to make it easier to identify any type in the codebase
without having to eslint-disable all the time
These are only used on legacy any types, don't use it for new types.
This is added on a separate file to avoid circular dependencies.
Show child attributes
default, percent, currency, number, id, date, timestamp, bytes_si, bytes_iec, custom default, commaPeriod, spacePeriod, periodComma, noSeparatorPeriod thousands, millions, billions, trillions, kilobytes, megabytes, gigabytes, terabytes, petabytes, kibibytes, mebibytes, gibibytes, tebibytes, pebibytes RAW, YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND, DAY_OF_WEEK_INDEX, DAY_OF_MONTH_NUM, DAY_OF_YEAR_NUM, WEEK_NUM, MONTH_NUM, QUARTER_NUM, YEAR_NUM, DAY_OF_WEEK_NAME, MONTH_NAME, QUARTER_NAME, HOUR_OF_DAY_NUM, MINUTE_OF_HOUR_NUM Show child attributes
RAW, YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND, DAY_OF_WEEK_INDEX, DAY_OF_MONTH_NUM, DAY_OF_YEAR_NUM, WEEK_NUM, MONTH_NUM, QUARTER_NUM, YEAR_NUM, DAY_OF_WEEK_NAME, MONTH_NAME, QUARTER_NAME, HOUR_OF_DAY_NUM, MINUTE_OF_HOUR_NUM Show child attributes
dimension date Show child attributes
Show child attributes
Show child attributes
thousands, millions, billions, trillions, kilobytes, megabytes, gigabytes, terabytes, petabytes, kibibytes, mebibytes, gibibytes, tebibytes, pebibytes km, mi, usd, gbp, eur, jpy, dkk, id, percent RAW, YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND, DAY_OF_WEEK_INDEX, DAY_OF_MONTH_NUM, DAY_OF_YEAR_NUM, WEEK_NUM, MONTH_NUM, QUARTER_NUM, YEAR_NUM, DAY_OF_WEEK_NAME, MONTH_NAME, QUARTER_NAME, HOUR_OF_DAY_NUM, MINUTE_OF_HOUR_NUM Show child attributes
RAW, YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND, DAY_OF_WEEK_INDEX, DAY_OF_MONTH_NUM, DAY_OF_YEAR_NUM, WEEK_NUM, MONTH_NUM, QUARTER_NUM, YEAR_NUM, DAY_OF_WEEK_NAME, MONTH_NAME, QUARTER_NAME, HOUR_OF_DAY_NUM, MINUTE_OF_HOUR_NUM ok Was this page helpful?