SQL

Get Sql Schema

Return the curated tables and columns available to public SQL.

Read from the same contract the validator and the rewriter derive from, so what this advertises and what a query may reference cannot drift apart.

get/api/v1/public/sql/schema

Request

  • Base URL
    https://app.traceroot.ai
  • URL
    https://app.traceroot.ai/api/v1/public/sql/schema
  • Auth
    HTTP bearer

Query parameters

project_idstring nullable

Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.