aggregation

Get record index

Returns the 0-based row index of a specific record in the current query context (respecting view filters, sort order, link filters)

get/table/{tableId}/aggregation/record-index

Request

Path parameters

tableIdstring required

Query parameters

viewIdstring

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

Example:viwXXXXXXX
string
OR
boolean
filterByTqlstring
Example:{field} = 'Completed' AND {field} > 5
filterstring

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.

string[]
OR
string[]
OR
string[]
OR
string
string[]
OR
string
selectedRecordIdsstring[]

Filter selected records by record ids

orderBystring

An array of sort objects that specifies how the records should be ordered.

groupBystring

An array of group objects that specifies how the records should be grouped.

collapsedGroupIdsstring

An array of group ids that specifies which groups are collapsed

queryIdstring

When provided, other query parameters will be merged with the saved ones.

Example:qry_xxxxxxxx
recordIdstring required

Response

Record index in the current query context

indexnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.