Tables
Aggregate table rows
Sum, count, average, min or max a field, optionally grouped by up to three fields and filtered. Set computed: true to read the derived document instead of the stored one. A read, expressed as POST because the filter set does not fit a query string. Prefer POST /{tableId}/rows/query, which answers rows, groups and calculations over one filtered set.
post/v1/tables/{tableId}/rows/aggregate
Request
- Base URLhttps://api.banksync.io
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
tableId, string required
Table ID
Request body
object required
fieldKey, string
computed, boolean
op, 'sum' | 'count' | 'avg' | 'min' | 'max' required
groupBy, string[]
filters, object[]
limit, integer
Response
Aggregate groups
object required
success, true required
groups, object[] required
Changes
No recorded changes to this operation across all 6 revisions of this API.