Sql
List Sql Queries
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringSuccess
application/json- response
[index: integer]?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" }]curl -X GET 'https://api.faststats.dev/v0/projects/string/sql/queries'[
{
"id": "string",
"name": "string",
"sql": "string",
"visualization": {
"view": "table",
"chart": {
"type": "line",
"x": "string",
"y": [
"string"
]
}
},
"createdAt": "string",
"updatedAt": "string"
}
]