Search Endpoints
Overview of the /v1/search namespace: the document filter alias, omnisearch GET and POST variants, saved filters, and the materialize trigger for the index.
The /v1/search namespace gathers Talonic's document search endpoints under one prefix: a filter route that is an alias of the document filter, an omnisearch POST that mirrors GET /v1/search, the read-only saved-filter listing, field autocomplete and field values for building filter UIs, and a materialize trigger that rebuilds the field-value index they all execute against.
Everything in the namespace requires only the read scope except POST /v1/search/materialize, which mutates the index and requires write. All reads are filtered by Sources-IAM visibility as the API key's minting user, so the five surfaces always agree with each other: a value autocomplete suggests, the filter matches, and the count reports the same visible set.
The filter alias exists for integrations that prefer a single base path: POST /v1/search/filter takes exactly the same body as POST /v1/documents/filter and returns the same response, with only links.self differing. Pick one path and stay consistent; the canonical documentation for the body and response lives on the [Filter Documents](filter-documents) page.
Choosing the right entry point: a user typing a query belongs on omnisearch, which searches every entity type at once and explains each hit; a filter-building UI pairs autocomplete (which field?) with field-values (which value?); a machine-to-machine slice goes straight to the filter with registry UUIDs; and a dashboard number is the filter's total with limit: 1. Saved filters bridge the first and last: curated once in the dashboard, replayed verbatim by integrations.
/v1/search/filter/v1/search/omnisearchBody parameters
20/v1/search/materializeFilter via the search namespace alias
curl -X POST https://api.talonic.com/v1/search/filter \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"conditions": [
{ "fieldId": "6f1e9a2b-4c3d-4e5f-8a7b-9c0d1e2f3a4b", "operator": "contains", "value": "acme" }
],
"limit": 10
}'Omnisearch via POST
curl -X POST https://api.talonic.com/v1/search/omnisearch \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "query": "acme", "limit": 5 }'