List metrics with time dimensions
Get paginated metrics that have time dimensions available
Authentication: personal access token. The spec defines an api_key security
scheme — send an Authorization: ApiKey <your-personal-access-token> header
(value format: ApiKey <your key>). A session_cookie scheme (connect.sid)
exists for browser sessions. Operations in this spec declare security: [], an
artifact of the upstream spec generator — authentication is still enforced by the
server.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
projectUuid | string | Yes |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | |
pageSize | number | No | |
sort | string | No | |
order | string | No | |
tableName | string | No | |
categories | array[string] | No | Spotlight category yaml references to filter by (OR mode) |
tags | array[string] | No | dbt tag names to filter by (OR mode) |
Responses
200 — Success
{
"results": {
"pagination": {
"page": 0,
"pageSize": 0,
"totalResults": 0,
"totalPageCount": 0
},
"data": [
{
"name": "string",
"description": "string",
"label": "string",
"fieldType": "metric",
"tableLabel": "string",
"requiredAttributes": {
"property": "string"
},
"anyAttributes": {
"property": "string"
},
"owner": {
"email": "string",
"lastName": "string",
"firstName": "string",
"userUuid": "string"
},
"spotlightDefaultFilter": {
"includeNull": true,
"values": [
"string"
],
"operator": "isNull",
"id": "string",
"target": {
"fieldRef": "string"
},
"settings": "string",
"disabled": true,
"required": true,
"caseSensitive": true
},
"spotlightDefaultSegment": "string",
"spotlightSegmentBy": [
"string"
],
"spotlightFilterBy": [
"string"
],
"searchRank": 0,
"aiHints": [
"string"
],
"icon": {
"unicode": "string"
},
"verifiedChartUsage": 0,
"chartUsage": 0,
"categories": [
{
"name": "string",
"color": "string",
"tagUuid": "string",
"yamlReference": "string"
}
],
"tags": [
"string"
],
"tableGroupLabel": "string",
"tableName": "string",
"fieldValueType": "percentile",
"basicType": "string",
"type": "field",
"catalogSearchUuid": "string"
}
]
},
"status": "ok"
}default — Error
{
"error": {
"data": "string",
"message": "string",
"name": "string",
"statusCode": 0
},
"status": "error"
}