跳转到主要内容
GET
/
table
/
{tableId}
/
aggregation
/
search-count
Get total count of search
curl --request GET \
  --url http://127.0.0.1:3000/api/table/{tableId}/aggregation/search-count \
  --header 'Authorization: Bearer <token>'
{
  "count": 123
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

tableId
string
必填

查询参数

filter
string

A filter object for complex query conditions based on fields, operators, and values. Use our visual query builder at https://app.teable.ai/developer/tool/query-builder to build filters.

viewId
string

Set the view you want to fetch, default is first view. result will filter and sort by view options.

示例:

"viwXXXXXXX"

search

Search for records that match the specified field and value

Required array length: 1 element
ignoreViewQuery

When a viewId is specified, configure this to true will ignore the view's filter, sort, etc

响应

200 - application/json

Search count with query

count
number
必填
Last modified on December 10, 2025