---
title: "Get per-table statistics"
method: GET
path: "/workspaces/{workspace_id}/table-stats"
tags: ["tables"]
---

# Get per-table statistics

`GET /workspaces/{workspace_id}/table-stats`

Returns row count, estimated size, and query count for each table in the workspace. Separated from ListTables because stats require expensive DuckDB queries.

## Path parameters

- `workspace_id` string, required

## Response `200`

Per-table statistics

- object

## Other responses

- `400` — Invalid workspace ID
- `401` — Unauthorized - missing or invalid authentication
- `403` — Access denied - user does not have access to this workspace
- `404` — 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)
