Records
Count records
How many records match, for the same view, filter and search a list would use.
GET/v1/tables/{tableId}/records/count
Ask this rather than paging to the end when you only need the number.
Requires the records:read scope. Operation records.count. MCP tool records_count. CLI, once published: gtable records count.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
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. |
Response
Success
dataobjectrequiredRefused
errorobjectrequired