Skip to main content
GET
/
api
/
v1
/
projects
/
{projectUuid}
/
sqlCharts
/
code
Error
A valid request URL is required to generate request examples
{
  "results": {
    "offset": 123,
    "total": 123,
    "missingIds": [
      "<string>"
    ],
    "sqlCharts": [
      {
        "description": "<string>",
        "name": "<string>",
        "slug": "<string>",
        "config": {
          "type": "vertical_bar",
          "metadata": {
            "version": 123
          },
          "display": {
            "stack": true,
            "legend": {
              "align": "start",
              "position": "top"
            },
            "series": {},
            "yAxis": [
              {
                "format": "km",
                "position": "<string>",
                "label": "<string>"
              }
            ],
            "xAxis": {
              "type": "time",
              "label": "<string>"
            }
          },
          "fieldConfig": {
            "y": [
              {
                "aggregation": "sum",
                "reference": "<string>"
              }
            ],
            "stack": true,
            "sortBy": [
              {
                "direction": "ASC",
                "reference": "<string>"
              }
            ],
            "groupBy": [
              {
                "reference": "<string>"
              }
            ],
            "x": {
              "type": "time",
              "reference": "<string>"
            }
          }
        },
        "sql": "<string>",
        "limit": 123,
        "chartKind": "line",
        "updatedAt": "2023-11-07T05:31:56Z",
        "spaceSlug": "<string>",
        "version": 123,
        "downloadedAt": "2023-11-07T05:31:56Z"
      }
    ]
  },
  "status": "ok"
}

Path Parameters

projectUuid
string
required

Query Parameters

ids
string[]
offset
number<double>

Response

Success

results
object
required
status
enum<string>
required
Available options:
ok