GET
/
api
/
v1
/
projects
/
{projectUuid}
/
charts
/
code
{
  "results": [
    {
      "name": "<string>",
      "description": "<string>",
      "dashboardUuid": "<string>",
      "slug": "<string>",
      "tableName": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z",
      "metricQuery": {
        "metadata": {
          "hasADateDimension": {
            "name": "<string>",
            "label": "<string>"
          }
        },
        "timezone": "<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>"
      },
      "chartConfig": {
        "config": {
          "comparisonLabel": "<string>",
          "flipColors": true,
          "comparisonFormat": "raw",
          "showComparison": true,
          "showBigNumberLabel": true,
          "selectedField": "<string>",
          "style": "thousands",
          "label": "<string>"
        },
        "type": "big_number"
      },
      "tableConfig": {
        "columnOrder": [
          "<string>"
        ]
      },
      "downloadedAt": "2023-11-07T05:31:56Z",
      "spaceSlug": "<string>",
      "version": 123
    }
  ],
  "status": "ok"
}

Path Parameters

projectUuid
string
required

Response

200
application/json
Success
results
object[]
required

From T, pick a set of properties whose keys are in the union K

status
enum<string>
required
Available options:
ok