Skip to main content
For AI agents: a documentation index is available at https://docs.parallel.ai/llms.txt. The full text of all docs is at https://docs.parallel.ai/llms-full.txt. You may also fetch any page as Markdown by appending .md to its URL or sending Accept: text/markdown.
When you execute a task using the Task API, the response includes both the generated output and its corresponding research basis, a structured explanation detailing the reasoning and evidence behind each result. This transparency enables you to understand how the system arrived at its conclusions and to assess the reliability of the output.

Terminology

To avoid confusion, this document uses the following terminology:
  • Research Basis: The overall feature that provides transparency into how Task API results are generated
  • Basis: The basis field in the API response, which contains an array of field-specific evidence
  • FieldBasis: The specific object type that contains citations, reasoning, and confidence for individual output fields

Task Run Result

Every Task Run Result object contains the following fields: A TaskRunOutput object can be one of two types:
  • TaskRunTextOutput
  • TaskRunJsonOutput
Both have the following fields:

Research Basis Structure

The basis field contains FieldBasis objects. For JSON outputs, it includes an entry for each top-level field and for each individual element of a top-level list field. For list elements, the field value uses a dot-delimited index, such as key_executives.0 and key_executives.1. The parent entry remains available alongside the element entries. Text outputs include a single entry whose field value is output. These entries let you trace which web sources contributed to each piece of information in your result.

The FieldBasis object

Each FieldBasis object has these components:

Citations

Citations provide the exact URLs where information was found. Each citation includes excerpts from the source that contributed to the output: Having multiple citations for an output field often indicates stronger evidence, as the information was verified across multiple sources.

Reasoning

The reasoning field explains how the system evaluated, compared, and synthesized information from different sources. This is particularly valuable when:
  • Information from different sources needed to be reconciled
  • Calculations or conversions were performed
  • The system needed to make judgments about conflicting data

Confidence Levels

All processors include a confidence rating for each output field:
  • High: Strong evidence from multiple authoritative sources with consistent information
  • Medium: Adequate evidence but with some inconsistencies or from less authoritative sources
  • Low: Limited or conflicting evidence, or information from less reliable sources

Per-Element Basis

For JSON outputs, the Task API returns a basis entry for each top-level output field. For a top-level list field, it also returns entries for individual list elements. Element entries use dot-delimited field paths such as key_executives.0 and key_executives.1. Per-element entries supplement the parent field entry. They do not replace it. For example, a response can contain key_executives, key_executives.0, and key_executives.1. As of August 24, 2026, omit the legacy parallel-beta: field-basis-2025-11-25 header from new integrations, and remove it from existing integrations. You receive Per-Element Basis without it.
If you did not send the beta header before August 24, 2026, your basis arrays may contain more entries. Continue reading task result values from output.content.

Examples

Output with Research Basis

Here’s an example of a complete Task Run output that includes research basis information:

High vs. Low Confidence Outputs

Per-Element Basis example

When an output contains a list, the research basis includes a parent entry for the list and separate entries for its elements. Use the parent entry for field-level context and element paths for item-level evidence.