Skip to main content

Saved Filters

Save filter configurations for reuse across queries. Saved filters store conditions, operator, and metadata so you can run complex searches without rebuilding them.

Create a saved filter

FieldTypeDescription
namestringFilter name
conditionsarrayArray of filter conditions (same as filter endpoint)
operatorstring"and" or "or"
# Create
curl -X POST https://api.talonic.com/filters \
  -H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2" \
  -H "Content-Type: application/json" \
  -d '{"name":"High-value Acme invoices","conditions":[{"field":"vendor_name","op":"eq","value":"Acme Corp"},{"field":"total_amount","op":"gt","value":1000}],"operator":"and"}'

# List
curl https://api.talonic.com/filters \
  -H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2"

# Execute
curl -X POST https://api.talonic.com/filters/flt_abc123/execute \
  -H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2"

# Delete
curl -X DELETE https://api.talonic.com/filters/flt_abc123 \
  -H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2"