Delivery

Filter documents with structured conditions

Query documents using an ordered list of filter conditions against materialised field values. Optional free-text search applies alongside the structured filter. limit is clamped to a server-side maximum of 500.

post/v1/documents/filter

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Request body

FilterDocumentsRequest required
source_id, string uuid

Optional source connection UUID to narrow the result set.

conditions, FilterCondition[]

Ordered list of filter conditions, ANDed together.

search, string

Optional free-text search applied alongside the structured conditions.

sort, FilterSort
page, integer

1-based page number. Default 1.

limit, integer

Page size. Server clamps to a maximum of 500. Default 50.

Example request

{
  "source_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "conditions": [
    {
      "fieldId": "amount",
      "operator": "between"
    }
  ]
}

Response

Matching documents with a total count.

FilterDocumentsResponse required
data, object[] required

Matching document rows.

total, integer required

Total number of matching documents.

links, object

Example response

{
  "total": 142
}

Changes

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