---
title: "Count a table's records, as the builder"
description: "How many rows match, for the same view, filter and search a list would use."
canonical: "https://gtable.app/docs/builder-api/data/records-count"
updated: "2026-10-05"
---

# Count a table's records, as the builder

`GET https://studio.gtable.app/v1/apps/{appId}/tables/{tableId}/records/count`

How many rows match, for the same view, filter and search a list would use.

Requires the `records:read` scope. Operation `apps.records.count`. MCP tool `apps_records_count`. CLI, once published: `gtable apps records count`.

## Path parameters

| Name      | Type   | Required | Description |
| --------- | ------ | -------- | ----------- |
| `appId`   | string | yes      |             |
| `tableId` | string | yes      |             |

## Query parameters

| Name     | Type   | Required | Description            |
| -------- | ------ | -------- | ---------------------- |
| `viewId` | string | no       | Up to 64 characters.   |
| `search` | string | no       | Up to 200 characters.  |
| `filter` | string | no       | Up to 4000 characters. |
| `sorts`  | string | no       | Up to 1000 characters. |
| `where`  | string | no       | Up to 4000 characters. |
