Resources
Mar 17, 20263 min read

Filtering by source and category

How to use the source, content_source, and date parameters to narrow results.

Overview

All SynthLink endpoints accept query parameters for narrowing results. This guide covers the most useful combinations.

Filter by source

curl
curl -G https://synth-link.com/api/v1/documents \
  -H "X-SYNTHLINK-KEY: sk_live_your_key" \
  -d source=openai_news \
  -d limit=20

Completed insights

The /api/v1/insights endpoint returns completed enrichment records only.

curl
curl -G https://synth-link.com/api/v1/insights \
  -H "X-SYNTHLINK-KEY: sk_live_your_key" \
  -d limit=10

Filter by ingestion method

content_source describes how content was collected — rss, detail, or api. This filter is optional; omit it to return all ingestion methods.

curl
curl -G https://synth-link.com/api/v1/documents \
  -H "X-SYNTHLINK-KEY: sk_live_your_key" \
  -d content_source=api \
  -d limit=20

Filter by ingestion time

Use start_date and end_date when you need incremental sync behavior and want documents inside a specific time window.

curl
curl -G https://synth-link.com/api/v1/documents \
  -H "X-SYNTHLINK-KEY: sk_live_your_key" \
  -d start_date=2026-03-20T00:00:00Z \
  -d end_date=2026-03-24T00:00:00Z \
  -d limit=20