Exploring
postRunUnderlyingDataQuery
API
My Account
- Overview
- GETGetAuthenticatedUser
- POSTRegisterUser
- PUTCreateEmailOneTimePasscode
- GETGetEmailVerificationStatus
- GETListMyAvailableOrganizations
- POSTJoinOrganization
- DELDeleteMe
- GETcreateWarehouseCredentials
- POSTupdateWarehouseCredentials
- DELdeleteWarehouseCredentials
- PATCHupdateWarehouseCredentials
- GETgetLoginOptions
- PATCHRotate personal access token
Organizations
- Overview
- GETGetMyOrganization
- PUTCreateOrganization
- PATCHUpdateMyOrganization
- DELDeleteMyOrganization
- GETListOrganizationProjects
- GETListOrganizationMembers
- GETGetOrganizationMemberByUuid
- DELDeleteOrganizationMember
- GETListOrganizationEmailDomains
- PATCHUpdateOrganizationEmailDomains
- GETListGroupsInOrganization
- POSTCreateGroupInOrganization
Projects
- Overview
- GETGetExplores
- PUTSetExplores
- GETGetExplore
- POSTCompileQuery
- POSTDownloadCsvFromExplore
- GETGetProject
- GETListChartsInProject
- GETListChartSummariesInProject `Deprecated`
- GETListSpacesInProject
- GETGetProjectAccessList
- POSTCalculateTotalFromQuery
- GETgetUserWarehouseCredentialsPreference
- PATCHupdateUserWarehouseCredentialsPreference
- GETgetCustomMetrics
- PATCHupdateProjectMetadata
- DELdeleteProjectSemanticLayerConnection
- PATCHupdateProjectSemanticLayerConnection
- GETgetDashboards
- POSTcreateDashboard
- PATCHupdateDashboards
- POSTcreatePreview
- PATCHPatch apiv1projects schedulersettings
- GETgetTags
- POSTcreateTag
- DELdeleteTag
- PATCHupdateTag
- GETgetChartsAsCode
- GETgetDashboardsAsCode
- POSTupsertChartAsCode
- POSTupsertDashboardAsCode
- GETGetLatestValidationResults
- POSTValidateProject
- DELDeleteValidationDismiss
Roles & Permissions
- PATCHUpdateOrganizationMember
- POSTCreateSpaceInProject
- GETGet apiv1projects access
- POSTGetProjectAccessList
- GETGetProjectMemberAccess
- DELRevokeProjectAccessForUser
- PATCHGrantProjectAccessToUser
- PATCHUpdateSpace
- POSTAddSpaceUserAccess
- DELRevokeSpaceAccessForUser
- POSTAddSpaceGroupAccess
- DELRevokeGroupSpaceAccess
Catalog
- GETgetCatalog
- GETgetMetadata
- GETgetAnalytics
- GETgetAnalyticsField
- GETgetMetricsCatalog
- GETgetMetric
- GETgetMetricsWithTimeDimensions
- GETgetSegmentDimensions
- POSTaddCategoryToCatalogItem
- DELremoveCategoryFromCatalogItem
- PATCHupdateCatalogItemIcon
- GETgetMetricsTree
- POSTcreateMetricsTreeEdge
- DELdeleteMetricsTreeEdge
Exports
Git Integration
User Groups
Metrics Explorer
Notifications
Charts
Schedulers
Share links
SSH Keypairs
Exploring
postRunUnderlyingDataQuery
Run a query for underlying data results
POST
/
api
/
v1
/
projects
/
{projectUuid}
/
explores
/
{exploreId}
/
runUnderlyingDataQuery
{
"results": {
"fields": {},
"rows": [
"<any>"
],
"cacheMetadata": {
"cacheHit": true,
"cacheUpdatedTime": "2023-11-07T05:31:56Z"
},
"metricQuery": {
"metadata": {
"hasADateDimension": {
"name": "<string>",
"label": "<string>"
}
},
"customDimensions": [
{
"id": "<string>",
"name": "<string>",
"table": "<string>",
"type": "bin",
"dimensionId": "<string>",
"binType": "fixed_number",
"binNumber": 123,
"binWidth": 123,
"customRange": [
{
"to": 123,
"from": 123
}
]
}
],
"additionalMetrics": [
{
"label": "<string>",
"type": "percentile",
"description": "<string>",
"sql": "<string>",
"hidden": true,
"round": 123,
"compact": "thousands",
"format": "km",
"table": "<string>",
"name": "<string>",
"index": 123,
"filters": [
{
"values": [
"<any>"
],
"operator": "isNull",
"id": "<string>",
"target": {
"fieldRef": "<string>"
},
"settings": "<any>",
"disabled": true,
"required": true
}
],
"baseDimensionName": "<string>",
"uuid": "<string>",
"percentile": 123,
"formatOptions": {
"type": "default",
"round": 123,
"separator": "default",
"currency": "<string>",
"compact": "thousands",
"prefix": "<string>",
"suffix": "<string>",
"timeInterval": "RAW"
}
}
],
"tableCalculations": [
{
"type": "number",
"format": {
"type": "default",
"round": 123,
"separator": "default",
"currency": "<string>",
"compact": "thousands",
"prefix": "<string>",
"suffix": "<string>",
"timeInterval": "RAW"
},
"sql": "<string>",
"displayName": "<string>",
"name": "<string>",
"index": 123
}
],
"limit": 123,
"sorts": [
{
"descending": true,
"fieldId": "<string>"
}
],
"filters": {
"tableCalculations": {
"or": [
"<any>"
],
"id": "<string>"
},
"metrics": {
"or": [
"<any>"
],
"id": "<string>"
},
"dimensions": {
"or": [
"<any>"
],
"id": "<string>"
}
},
"metrics": [
"<string>"
],
"dimensions": [
"<string>"
],
"exploreName": "<string>"
}
},
"status": "ok"
}
Path Parameters
The uuid of the project
table name
Body
application/json
metricQuery for the chart to run
metricQuery for the chart to run
Available options:
number
, string
, date
, timestamp
, boolean
Available options:
default
, percent
, currency
, number
, id
, date
, timestamp
Available options:
default
, commaPeriod
, spacePeriod
, periodComma
, noSeparatorPeriod
Available options:
thousands
, millions
, billions
, trillions
Available options:
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
Available options:
Day
, Week
, Month
, Quarter
, Year
Available options:
bin
Available options:
fixed_number
, fixed_width
, custom_range
Available options:
percentile
, average
, count
, count_distinct
, sum
, min
, max
, number
, median
, string
, date
, timestamp
, boolean
Available options:
thousands
, millions
, billions
, trillions
Available options:
km
, mi
, usd
, gbp
, eur
, id
, percent
Available options:
isNull
, notNull
, equals
, notEquals
, startsWith
, endsWith
, include
, doesNotInclude
, lessThan
, lessThanOrEqual
, greaterThan
, greaterThanOrEqual
, inThePast
, notInThePast
, inTheNext
, inTheCurrent
, notInTheCurrent
, inBetween
Available options:
default
, percent
, currency
, number
, id
, date
, timestamp
Available options:
default
, commaPeriod
, spacePeriod
, periodComma
, noSeparatorPeriod
Available options:
thousands
, millions
, billions
, trillions
Available options:
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
Response
200
application/json
Success
Available options:
number
, string
, date
, timestamp
, boolean
Available options:
default
, percent
, currency
, number
, id
, date
, timestamp
Available options:
default
, commaPeriod
, spacePeriod
, periodComma
, noSeparatorPeriod
Available options:
thousands
, millions
, billions
, trillions
Available options:
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
Available options:
bin
Available options:
fixed_number
, fixed_width
, custom_range
Available options:
percentile
, average
, count
, count_distinct
, sum
, min
, max
, number
, median
, string
, date
, timestamp
, boolean
Available options:
thousands
, millions
, billions
, trillions
Available options:
km
, mi
, usd
, gbp
, eur
, id
, percent
Available options:
isNull
, notNull
, equals
, notEquals
, startsWith
, endsWith
, include
, doesNotInclude
, lessThan
, lessThanOrEqual
, greaterThan
, greaterThanOrEqual
, inThePast
, notInThePast
, inTheNext
, inTheCurrent
, notInTheCurrent
, inBetween
Available options:
default
, percent
, currency
, number
, id
, date
, timestamp
Available options:
default
, commaPeriod
, spacePeriod
, periodComma
, noSeparatorPeriod
Available options:
thousands
, millions
, billions
, trillions
Available options:
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
Construct a type with a set of properties K of type T
Available options:
ok
{
"results": {
"fields": {},
"rows": [
"<any>"
],
"cacheMetadata": {
"cacheHit": true,
"cacheUpdatedTime": "2023-11-07T05:31:56Z"
},
"metricQuery": {
"metadata": {
"hasADateDimension": {
"name": "<string>",
"label": "<string>"
}
},
"customDimensions": [
{
"id": "<string>",
"name": "<string>",
"table": "<string>",
"type": "bin",
"dimensionId": "<string>",
"binType": "fixed_number",
"binNumber": 123,
"binWidth": 123,
"customRange": [
{
"to": 123,
"from": 123
}
]
}
],
"additionalMetrics": [
{
"label": "<string>",
"type": "percentile",
"description": "<string>",
"sql": "<string>",
"hidden": true,
"round": 123,
"compact": "thousands",
"format": "km",
"table": "<string>",
"name": "<string>",
"index": 123,
"filters": [
{
"values": [
"<any>"
],
"operator": "isNull",
"id": "<string>",
"target": {
"fieldRef": "<string>"
},
"settings": "<any>",
"disabled": true,
"required": true
}
],
"baseDimensionName": "<string>",
"uuid": "<string>",
"percentile": 123,
"formatOptions": {
"type": "default",
"round": 123,
"separator": "default",
"currency": "<string>",
"compact": "thousands",
"prefix": "<string>",
"suffix": "<string>",
"timeInterval": "RAW"
}
}
],
"tableCalculations": [
{
"type": "number",
"format": {
"type": "default",
"round": 123,
"separator": "default",
"currency": "<string>",
"compact": "thousands",
"prefix": "<string>",
"suffix": "<string>",
"timeInterval": "RAW"
},
"sql": "<string>",
"displayName": "<string>",
"name": "<string>",
"index": 123
}
],
"limit": 123,
"sorts": [
{
"descending": true,
"fieldId": "<string>"
}
],
"filters": {
"tableCalculations": {
"or": [
"<any>"
],
"id": "<string>"
},
"metrics": {
"or": [
"<any>"
],
"id": "<string>"
},
"dimensions": {
"or": [
"<any>"
],
"id": "<string>"
}
},
"metrics": [
"<string>"
],
"dimensions": [
"<string>"
],
"exploreName": "<string>"
}
},
"status": "ok"
}