Filter Records
Filter records by field values
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
app_id | number | Required | The app to filter |
filters | array | Required | Array of filter objects. Each filter: {field_id: "123", field_type: "single_text", match_type: "contains", values: [{value: "search term"}], type: "text"} |
limit | number | Optional | Max records to return (default 30) |
cursor | string | Optional | Pagination cursor |
sort_by | string | Optional | External ID of field to sort by |
sort_desc | boolean | Optional | Sort descending (default false) |
Examples
MCP Tool Call
{
"name": "tape_filterRecords",
"arguments": {
"app_id": 12345,
"filters": "example",
"limit": 12345,
"cursor": "example",
"sort_by": "example",
"sort_desc": true,
"count_only": true,
"field_ids": "value",
"field_values_only": true
}
}REST API
curl -X POST https://api.syncello.io/v1/tools/tape/filterRecords \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"app_id": 12345,
"filters": "example",
"limit": 12345,
"cursor": "example",
"sort_by": "example",
"sort_desc": true,
"count_only": true,
"field_ids": "value",
"field_values_only": true
}'