GET
/
api
/
v1
/
projects
/
{projectUuid}
/
sqlRunner
/
saved
/
slug
/
{slug}
{
  "results": {
    "lastViewedAt": "2023-11-07T05:31:56Z",
    "firstViewedAt": "2023-11-07T05:31:56Z",
    "views": 123,
    "organization": {
      "organizationUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "project": {
      "projectUuid": "<string>"
    },
    "dashboard": {
      "name": "<string>",
      "uuid": "<string>"
    },
    "space": {
      "name": "<string>",
      "uuid": "<string>",
      "isPrivate": true,
      "userAccess": {
        "inheritedFrom": "organization",
        "inheritedRole": "member",
        "projectRole": "viewer",
        "hasDirectAccess": true,
        "role": "viewer",
        "email": "<string>",
        "lastName": "<string>",
        "firstName": "<string>",
        "userUuid": "<string>"
      }
    },
    "lastUpdatedBy": {
      "userUuid": "<string>",
      "firstName": "<string>",
      "lastName": "<string>"
    },
    "lastUpdatedAt": "2023-11-07T05:31:56Z",
    "createdBy": {
      "userUuid": "<string>",
      "firstName": "<string>",
      "lastName": "<string>"
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "chartKind": "line",
    "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": {
        "sortBy": [
          {
            "direction": "ASC",
            "reference": "<string>"
          }
        ],
        "groupBy": [
          {
            "reference": "<string>"
          }
        ],
        "y": [
          {
            "aggregation": "sum",
            "reference": "<string>"
          }
        ],
        "x": {
          "type": "time",
          "reference": "<string>"
        }
      }
    },
    "limit": 123,
    "sql": "<string>",
    "slug": "<string>",
    "description": "<string>",
    "name": "<string>",
    "savedSqlUuid": "<string>"
  },
  "status": "ok"
}

Path Parameters

slug
string
required

the slug for the saved sql chart

projectUuid
string
required

the uuid for the project

Response

200
application/json

Success

The response is of type object.