---
title: "Get detailed schema for a table"
method: GET
path: "/workspaces/{workspace_id}/tables/{table_name}"
tags: ["tables"]
---

# Get detailed schema for a table

`GET /workspaces/{workspace_id}/tables/{table_name}`

Returns detailed schema information for a specific table including all columns with their data types, nullability, defaults, and constraints.

## Path parameters

- `workspace_id` string, required
- `table_name` string, required

## Response `200`

Table schema with column details

- GithubComActiveloopaiDeeplakeApiInternalTablesTableSchema
  - `columns` GithubComActiveloopaiDeeplakeApiInternalTablesTableColumn[]
    - `default` string — Nullable
    - `name` string
    - `nullable` boolean
    - `type` string
  - `row_count` integer — Nullable
  - `table_name` string

## Other responses

- `400` — Invalid workspace ID or missing table name
- `401` — Unauthorized - missing or invalid authentication
- `403` — Access denied - user does not have access to this workspace
- `404` — Table not found or workspace schema not found
- `500` — Internal server error

---

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