Sql
Run Sql
POST
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*stringapplication/json- body
sql*stringLength
1 <= length <= 8000Success
application/json- response
columns*array<>rows*array<>truncated*booleanelapsedMs*number|Example Request
curl -X POST 'https://api.faststats.dev/v0/projects/string/sql/query' \ -H 'Content-Type: application/json' \ -d '{ "sql": "string"}'Example Response
{ "columns": [ { "name": "string", "type": "string", "numeric": true } ], "rows": [ {} ], "truncated": true, "elapsedMs": 0}