Count records per value
Count records by each value in one column for the same set a list would return; a key has the shape the record's value has (a link is [{ id, label }]); order keys by that column's sort order.
GET/v1/tables/{tableId}/records/groups
Set fieldId to the field’s ID or exact name. Refuses unreadable fields and lists the fields you can read. meta.rowsLimited as on records.list.
Requires the records:read scope. Operation records.groups. MCP tool records_groups. CLI: grid82 records groups (npx grid82).
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. |
fieldId | string | yes | Up to 200 characters. |
limit | integer | no |
Response
Success
dataobjectrequiredmetaobjectrequiredRefused
errorobjectrequired