---
title: "Get the schema for a table on the connection"
method: GET
path: "/connection/{id}/schema/{table}"
tags: ["Connections"]
---

# Get the schema for a table on the connection

`GET /connection/{id}/schema/{table}`

Returns all the columns for a table on the given connection

## Path parameters

- `id` string, required
- `table` string, required

## Query parameters

- `account_id` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/lytics/apis/lytics-api.md) · [All operations](https://skmtc.net/lytics/apis/lytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lytics/lytics-api/versions/366eeabcb6de/schema)
