search_after_date_filter
and search_before_date_filter
parameters allow you to restrict search results to a specific publication date range. Only results with publication dates falling between these dates will be returned.The last_updated_after_filter
and last_updated_before_filter
parameters allow you to filter by when content was last modified or updated, rather than when it was originally published.search_after_date_filter
and search_before_date_filter
parameters filter results based on when content was originally created or published. This is useful when you need to:
• Find content published within a specific timeframe
• Exclude outdated or overly recent publications
• Focus on content from a particular publication period
last_updated_after_filter
and last_updated_before_filter
parameters filter results based on when content was last modified or updated. This is useful when you need to:
• Find recently updated or maintained content
• Exclude stale content that hasn’t been updated recently
• Focus on content that has been refreshed within a specific period
Important: These filter types target different dates—publication filters use the original creation/publication date, while last updated filters use the modification date.
To constrain search results by publication date:
search_after_date_filter
:
search_after_date_filter
/search_before_date_filter
) when you care about when content was originally created. Use last updated filters (last_updated_after_filter
/last_updated_before_filter
) when you need recently maintained content.
• Combining Filters: You can use both publication and last updated filters together to find content that meets both criteria (e.g., published in 2024 but updated recently).
Client-Side Validation
• Regex Check: Validate date strings on the client side (or via the API) using a regex such as:
last_updated_after_filter
and last_updated_before_filter
parameters provide powerful filtering capabilities based on when content was last modified or updated, rather than when it was originally published. This is particularly useful for finding recently maintained, refreshed, or updated content.
last_updated_after_filter
last_updated_before_filter
last_updated_after_filter
when you need the most current information on rapidly evolving topics.