Tables

Query table rows

The one "rows where …" question. A filter tree (and / or / not over clauses that name a field by key, or one hop through a relation as relation.field), search, sort, a saved viewId whose filter is merged in, a row page, groups with per-group calculations, and calculations over the whole filtered set — answered together, so a total beside a page of rows is a total of those rows. Pass rows: false to skip the page. A question the schema cannot answer is a 400 QUERY_REFUSED whose details[] name each offending path; a view that does not exist, or that belongs to someone else, is a 404 VIEW_NOT_FOUND.

post/v1/tables/{tableId}/rows/query

Request

  • Base URL
    https://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
filter, union

A filter tree shared by tables, dashboards and widgets. A clause names a field by key (or one hop through a relation as relation.field), an operator, and a value; groups combine clauses with and / or / not.

search, string
viewId, string
sort, object[]
fields, string[]
deleted, boolean
rows, union
groups, object
calculations, object

Response

Rows, groups and calculations over one filtered set

object required
success, true required
data, object required
meta, object required

Changes

No recorded changes to this operation across all 6 revisions of this API.