Skip to main content
POST
/
catchAll
/
submit
Create job
curl --request POST \
  --url https://catchall.newscatcherapi.com/catchAll/submit \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "query": "Tech company earnings this quarter",
  "context": "Focus on revenue and profit margins",
  "schema": "Company [NAME] earned [REVENUE] in [QUARTER]"
}'
{
  "job_id": "af7a26d6-cf0b-458c-a6ed-4b6318c74da3"
}

Authorizations

x-api-key
string
header
required

API key for authentication.

Body

application/json
query
string
required

Natural language question describing what to find.

The system analyzes your input to generate search queries, validators, and extractors. More specific queries produce more focused results.

Example:

"Tech company earnings this quarter"

schema
string

Template string to guide record summary formatting. Use placeholder syntax with brackets to indicate desired fields: [COMPANY], [REVENUE], [DATE], etc.

When provided, the system generates a schema_based_summary field for each record following this template.

Example:

"[COMPANY] earned [REVENUE] in [QUARTER]"

context
string

Additional context to focus on specific aspects of your query.

Example:

"Focus on revenue and profit margins"

Response

Job created successfully

job_id
string<uuid>
required

Unique identifier for the created job. Use this to check status and retrieve results.

Example:

"af7a26d6-cf0b-458c-a6ed-4b6318c74da3"