SQL
Get SQL Schema
Describe a database’s tables, fields, and link tables for composing SQL queries.
GET
Get SQL schema
Returns the database schema — tables, their fields, and the link tables that connect them — using human-readable names. Use this to discover the exact table and field names to reference from Run SQL.
Names in the response match the human-readable names used in your SQL queries and the Zite SDK.
Query parameters
Link tables
linkTables describes the junction tables that connect two tables for many-to-many relationships. Each entry exposes the source and target tables along with the columns to join on, so you can traverse linked records in SQL.Authorizations
Enter your Zite API key. Format: Bearer <api_key>
Path Parameters
The unique identifier of the database
Query Parameters
Optional whitelist of table names to include. Repeat the parameter for multiple tables (or pass a single comma-separated string). Omit to return all tables.
Whether to include field-level detail for each table. Set to false for a cheap overview of just table names.