---
title: "Get Table Columns"
method: GET
path: "/api/databases/{connection_id}/tables/{table_name}/columns"
tags: ["Database Connections"]
---

# Get Table Columns

`GET /api/databases/{connection_id}/tables/{table_name}/columns`

Get columns for a specific table (fast query).

Use this to load table details on demand instead of loading entire schema.

## Path parameters

- `connection_id` string, required
- `table_name` string, required

## Query parameters

- `schema_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/qomplement/apis/fastapi.md) · [All operations](https://skmtc.dev/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qomplement/fastapi/revisions/7a7c8e2b5afc/schema)
