---
title: "Table Query Stats Batch"
method: POST
path: "/table/query_stats_batch"
tags: ["Tables"]
---

# Table Query Stats Batch

`POST /table/query_stats_batch`

## Request

- Base URL: `https://trace.wandb.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://trace.wandb.ai/table/query_stats_batch`
- Auth: none declared

## Request body

- TableQueryStatsBatchReq
  - `project_id` string, required: The ID of the project
  - `digests` string[], nullable: The digests of the tables to query
  - `include_storage_size` boolean, nullable: If true, the `storage_size_bytes` column is returned.

## Response `200`

Successful Response

- TableQueryStatsBatchRes
  - `tables` TableStatsRow[], required
    - `count` integer, required
    - `digest` string, required
    - `storage_size_bytes` integer, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `dd89fadfe4e4`: 3 info
  - the endpoint scheme security `HTTPBasic` was removed from the API
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-01-07** `d6e39f7c717d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/changes/table/query_stats_batch/post.md)

---

[API](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api.md) - [All operations](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/revisions/f7643c49bf2e?raw)
