Validate query
Checks whether a query is well-formed and likely to produce good results before submitting a job.
Returns a quality assessment with a status level, identified issues, and actionable suggestions.
Documentation Index
Fetch the complete documentation index at: https://newscatcherinc-docs.mintlify.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication.
Body
Plain text query to validate.
"Series B funding rounds for SaaS startups"
Response
Query validation result.
Query quality assessment returned by the validate endpoint.
Overall quality level of the query.
good, needs_work, critical Short headline summarising the assessment.
"Specific event type clear"
Confidence score for this assessment.
0 <= x <= 10.98
Plain-language explanation of the assessment result.
"Clear event type and focus; no timeframe needed for a default recent search."
Issues identified in the query. Empty when status is good.
Category of a query issue identified during validation.
missing_event_type: Query does not specify a type of event to find.too_vague: Query lacks sufficient focus to return targeted results.too_specific: Query is overly constrained and may return no results.wrong_timeframe: Requested timeframe exceeds the 30-day maximum window or references a historical period outside the supported range.static_content: Query targets static or reference content such as specifications, how-to guides, or historical data rather than events.article_request: Query requests articles or news content rather than describing an event to search for.multiple_event_types: Query mixes unrelated event types; results may be unfocused.too_short: Query is too short to resolve meaningful search intent.too_long: Query is excessively long and may confuse the pipeline.
missing_event_type, too_vague, too_specific, wrong_timeframe, static_content, article_request, multiple_event_types, too_short, too_long []
Actionable recommendations for each identified issue. Empty when status is good. Each suggestion corresponds to one entry in issues.
[]

