API
Reference
- Projects
- My Account
- User attributes
- SSH Keypairs
- SQL runner
- GETGet apiv1projects sqlrunnertables
- GETGet apiv1projects sqlrunnerfields
- POSTPost apiv1projects sqlrunnerrun
- POSTPost apiv1projects sqlrunnerrunpivotquery
- GETGet apiv1projects sqlrunnerresults
- GETGet apiv1projects sqlrunnersaved
- DELDelete apiv1projects sqlrunnersaved
- PATCHPatch apiv1projects sqlrunnersaved
- GETGet apiv1projects sqlrunnersavedslug
- GETGet apiv1projects sqlrunnersavedslug results job
- GETGet apiv1projects sqlrunnersaved results job
- POSTPost apiv1projects sqlrunnersaved
- POSTPost apiv1projects sqlrunnerrefresh catalog
- POSTPost apiv1projects sqlrunnervirtual view
- PUTPut apiv1projects sqlrunnervirtual view
- DELDelete apiv1projects sqlrunnervirtual view
- POSTPost apiv1projects sqlrunnerpreview
- POSTPost apiv1projects sqlrunnerpull request
- GET
- Spotlight
- Spaces
- Roles & Permissions
- Integrations
- Share links
- Schedulers
- Exploring
- Charts
- Content
- Organizations
- Notifications
- Metrics Explorer
- User Groups
- API Reference
- Git Integration
- Dashboards
- Exports
- Comments
- Catalog
- v2
SQL runner
Get apiv1projects sqlrunnersaved
Get saved sql chart
GET
/
api
/
v1
/
projects
/
{projectUuid}
/
sqlRunner
/
saved
/
{uuid}
Copy
Ask AI
{
"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
the uuid for the saved sql chart
the uuid for the project
Response
200
application/json
Success
The response is of type object
.
Copy
Ask AI
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.