Parallel icon

Parallel

Highest accuracy web search tools for AI agents

Task → Sync Web Enrichment

AI-generated

Summary

I produced the JSON as requested, grounded strictly in the provided properties and source code, leading with the verb, avoiding filler, and being specific about inputs/outputs without inventing behavior.

Inputs

  • inputType (required) — Natural language text or structured JSON input type selection.
  • textInput (required) — Natural language query, displayed when inputType is text. Placeholder: 'What was the GDP of France in 2023? Format as ...'
  • jsonInput (required) — Structured JSON data input, displayed when inputType is json. Default provided with company_name/company_domain/company_ticker structure.
  • outputSchemaType (required) — Format of the expected output. Options: text (simple text) or json (structured JSON requiring syncOutputJsonSchema). Default: json.
  • textOutputDescription — Optional description of desired text output format. Shown when outputSchemaType is text and inputType is text.
  • textOutputDescriptionRequired (required) — Required description of what text output you want when providing JSON input. Shown when outputSchemaType is text and inputType is json.
  • syncOutputJsonSchema (required) — JSON schema defining the structure of the expected output. Description fields serve as field-level prompts. Default includes company_name, ceo_name, employee_count, annual_revenue_2024, headquarters_city, founded_year with strict required/additionalProperties constraints.
  • processor — Processor tier for the task. Options: lite (basic metadata, 5s-60s, max 2 output fields, $5/1000 runs), base (reliable standard enrichments, 15s-100s, max 5 output fields, $10/1000 runs), core (cross-referenced, moderately complex outputs, 60s-5min, max 10 output fields, $25/1000 runs). Default: base.

Output shape

The result from the Parallel API task result endpoint (GET /v1/tasks/runs/{runId}/result?timeout=240), returned after polling up to 15 times. Shape determined by the output schema and processor configuration.

If the task does not complete within approximately 60 minutes (15 attempts × 240s timeout), a NodeOperationError is thrown indicating timeout.

Examples

Example 1: Text input asking for GDP of France in 2023

inputType: text, textInput: 'What was the GDP of France in 2023? Format as ...', outputSchemaType: json, processor: base

Example 2: JSON input specifying company data

inputType: json, jsonInput: provided JSON object, outputSchemaType: text, textOutputDescriptionRequired: 'Generate a company summary', processor: core

Links

Discussion