---
title: "List SQL table columns"
method: GET
path: "/v1/sources/sql/{connectionId}/tables/{tableName}/columns"
tags: ["Sources"]
---

# List SQL table columns

`GET /v1/sources/sql/{connectionId}/tables/{tableName}/columns`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/sources/sql/{connectionId}/tables/{tableName}/columns`
- Auth: HTTP bearer

The columns of one table with their database type and the type they map to. Reads the database live. A connection restricted from the caller answers 403.

**Scope:** `read` or `sources:read`.

## Path parameters

- `connectionId` string, uuid, required
- `tableName` string, required

## Query parameters

- `schema` string

## Response `200`

The columns.

- object[]
  - `name` string
  - `db_type` string
  - `mapped_type` string
  - `nullable` boolean

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/sources/sql/:connectionId/tables/:tableName/columns/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
