Skip to Content
Sql

List Sql Queries

GET
/v0/projects/{idOrSlug}/sql/queries

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Response Body

Success

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/sql/queries'
Example Response
[
  {
    "id": "string",
    "name": "string",
    "sql": "string",
    "visualization": {
      "view": "table",
      "chart": {
        "type": "line",
        "x": "string",
        "y": [
          "string"
        ]
      }
    },
    "createdAt": "string",
    "updatedAt": "string"
  }
]