Documentation Index
Fetch the complete documentation index at: https://docs.parallel.ai/llms.txt
Use this file to discover all available pages before exploring further.
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.Overview
Interactions let you chain context between API calls. Each response includes aninteraction_id, which you can pass as previous_interaction_id in a subsequent request to carry forward the context from the previous call. This enables multi-turn research workflows like follow-up questions, iterative refinement, and conversational agents.
Interactions work across both the Task API and Chat API.
How It Works
- Make an initial request — the response includes an
interaction_id - Pass it forward — include that value as
previous_interaction_idin your next request - Continue the chain — each new response returns its own
interaction_id, so you can keep building on prior context

Request and Response Fields
| Field | Location | Description |
|---|---|---|
previous_interaction_id | Request (optional) | Interaction ID from a prior call to use as context |
interaction_id | Response | Identifier for this interaction — pass as previous_interaction_id in follow-ups |
BetaTaskRunInput) and Chat API (ChatCompletionRequest) requests, and their corresponding responses.
Task API Usage
Cross-Processor Interactions
You can chain interactions across different processors of the Task API.Next Steps
- Interactive Research: Build an interactive research app using interactions
- Deep Research: Comprehensive single-turn research
- Enrichment: Structured data enrichment