Skip to Content
Sql

Get Sql Schema

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

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
tables*array<>
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/sql/schema'
Example Response
{
  "tables": [
    {
      "name": "string",
      "description": "string",
      "columns": [
        {
          "name": "string",
          "type": "string",
          "numeric": true
        }
      ]
    }
  ]
}