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<>
curl -X GET "https://example.com/v0/projects/string/sql/schema"
{  "tables": [    {      "name": "string",      "description": "string",      "columns": [        {          "name": "string",          "type": "string",          "numeric": true        }      ]    }  ]}