---
title: "Get external table schema"
method: GET
path: "/query/schema"
tags: ["query"]
---

# Get external table schema

`GET /query/schema`

Lists active logical tables and their columns for the authenticated tenant. Storage paths, setting IDs, and credentials are never returned.
Required scope: `external_data:query`

## Response `200`

Active logical table schemas

- ExternalTableSchemaResponse
  - `tables` ExternalTableSchema[], required
    - `logical_table` string, required
    - `columns` ExternalTableColumn[], required
      - `name` string, required
      - `type` string, required
    - `synced_at` string, date-time, required

## Other responses

- `401` — Unauthorized
- `503` — Published snapshot is unavailable

## Changes

> 71 revisions in range; 18 not diffed.

- **2026-07-26** `67d44efb04be` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/qlonolink/apis/qaip-apis/changes/query/schema/get.md)

---

[API](https://skmtc.dev/qlonolink/apis/qaip-apis.md) · [All operations](https://skmtc.dev/qlonolink/apis/qaip-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qlonolink/qaip-apis/revisions/61dc40676905/schema)
