Parallel
About[About](https://parallel.ai/about)Pricing[Pricing](https://parallel.ai/pricing)Careers[Careers](https://jobs.ashbyhq.com/parallel)Blog[Blog](https://parallel.ai/blog)Docs[Docs](https://docs.parallel.ai/home)
Start Building
P
[Start Building](https://platform.parallel.ai/)
[Menu]

# Introducing SSE for Task Runs

Stream live updates from the Parallel Task API

Tags:Product Release
Reading time: 2 min
Introducing SSE for Task Runs

Starting today, Server-Sent Events (SSE) for Task Runs is available in beta - bringing real-time visibility to long-running web research tasks through the Parallel Task API[Parallel Task API]($https://parallel.ai/blog/parallel-task-api).

SSE delivers live progress updates, model reasoning, and status changes as tasks execute. This eliminates polling overhead and enables responsive user interfaces for production applications. Whether you're building AI assistants, research dashboards, or interactive workflows, SSE provides the granular updates your users expect from modern AI applications.

## **Event streams for individual Tasks**

We previously released SSE support for Task Groups[Task Groups]($https://parallel.ai/blog/task-group-api), enabling stream-level visibility into aggregate workflows. With today's update, SSE extends to the task run level, providing detailed updates for individual research tasks. This granular approach enables tighter feedback loops and more precise instrumentation for user-facing applications.

The result: users see exactly what's happening during complex web research operations instead of waiting for final outputs with no visibility.

## **Connecting to the Event Stream**

To receive live updates from a task run, establish an SSE connection using the run ID:

### Establish an SSE connection
1
2
3
4
5
6
7
8
9
curl -X POST "https://api.parallel.ai/v1/tasks/runs" \ -H "x-api-key: YOUR_API_KEY" \ -H 'content-type: application/json' \ -H "parallel-beta: events-sse-2025-07-24" \ --data '{ "input": "What were the hiring plans of Google in 2024", "processor": "lite", "enable_events": true }'```
curl -X POST "https://api.parallel.ai/v1/tasks/runs" \
-H "x-api-key: YOUR_API_KEY" \
-H 'content-type: application/json' \
-H "parallel-beta: events-sse-2025-07-24" \
--data '{
"input": "What were the hiring plans of Google in 2024",
"processor": "lite",
"enable_events": true
}'
```

Once connected, you'll receive a continuous stream of JSON-formatted updates over an open HTTP connection. Each event provides structured data about task execution state, enabling precise UI updates on research progress.

## **What You'll Receive**

SSE streams deliver four categories of real-time updates:

  1. **Progress Statistics**: Live counts of sources scanned, selected, and processed during web research execution.
  2. **Message Updates**: Model reasoning and thought processes as the task progresses through complex multi-hop research.
  3. **Status Changes**: Clear signals when tasks start, complete, or encounter errors.
  4. **Error Details**: Specific error information when issues arise, enabling immediate debugging.
### Sample Event Stream
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
event: task_run.state data: {"type":"task_run.state","event_id":null,"input":null,"run":{"run_id":"trun_aa9c7a780c9d4d4b9aa0ca064f61a6f7","status":"running","is_active":true,"warnings":null,"error":null,"processor":"pro","metadata":{},"taskgroup_id":null,"created_at":"2025-08-06T00:52:58.619503Z","modified_at":"2025-08-06T00:52:59.495063Z"},"output":null} event: task_run.progress_msg.exec_status data: {"type":"task_run.progress_msg.exec_status","message":"Starting research","timestamp":"2025-08-06T00:52:59.786126Z"} event: task_run.progress_msg.plan data: {"type":"task_run.progress_msg.plan","message":"I'm working on gathering information about Google's hiring in 2024, including where most jobs were created and any official announcements. I'll review recent news, reports, and Google's own statements to provide a comprehensive answer.","timestamp":"2025-08-06T00:53:19.281306Z"} event: task_run.progress_msg.tool data: {"type":"task_run.progress_msg.tool","message":"I've looked into Google's hiring activity in 2024, focusing on locations and official statements. I'll compile the findings and share a clear update with you shortly.","timestamp":"2025-08-06T00:53:28.282905Z"} event: task_run.progress_stats data: {"type":"task_run.progress_stats","source_stats":{"num_sources_considered":223,"num_sources_read":22,"sources_read_sample":["http://stcloudlive.com/business/19-layoffs-coming-in-mid-march-at-st-cloud-arctic-cat-facility-company-says","http://snowgoer.com/snowmobiles/arctic-cat-sleds/putting-the-arctic-cat-layoffs-production-stop-in-context/32826","http://25newsnow.com/2024/07/26/cat-deere-cyclical-layoff-mode-say-industry-experts","http://citizen.org/article/big-tech-lobbying-update","http://businessalabama.com/women-in-tech-23-for-23","http://itif.org/publications/2019/10/28/policymakers-guide-techlash","http://distributech.com/","http://newyorker.com/magazine/2019/09/30/four-years-in-startups"]}}```
event: task_run.state
data: {"type":"task_run.state","event_id":null,"input":null,"run":{"run_id":"trun_aa9c7a780c9d4d4b9aa0ca064f61a6f7","status":"running","is_active":true,"warnings":null,"error":null,"processor":"pro","metadata":{},"taskgroup_id":null,"created_at":"2025-08-06T00:52:58.619503Z","modified_at":"2025-08-06T00:52:59.495063Z"},"output":null}
 
event: task_run.progress_msg.exec_status
data: {"type":"task_run.progress_msg.exec_status","message":"Starting research","timestamp":"2025-08-06T00:52:59.786126Z"}
 
event: task_run.progress_msg.plan
data: {"type":"task_run.progress_msg.plan","message":"I'm working on gathering information about Google's hiring in 2024, including where most jobs were created and any official announcements. I'll review recent news, reports, and Google's own statements to provide a comprehensive answer.","timestamp":"2025-08-06T00:53:19.281306Z"}
 
event: task_run.progress_msg.tool
data: {"type":"task_run.progress_msg.tool","message":"I've looked into Google's hiring activity in 2024, focusing on locations and official statements. I'll compile the findings and share a clear update with you shortly.","timestamp":"2025-08-06T00:53:28.282905Z"}
 
 
event: task_run.progress_stats
data: {"type":"task_run.progress_stats","source_stats":{"num_sources_considered":223,"num_sources_read":22,"sources_read_sample":["http://stcloudlive.com/business/19-layoffs-coming-in-mid-march-at-st-cloud-arctic-cat-facility-company-says","http://snowgoer.com/snowmobiles/arctic-cat-sleds/putting-the-arctic-cat-layoffs-production-stop-in-context/32826","http://25newsnow.com/2024/07/26/cat-deere-cyclical-layoff-mode-say-industry-experts","http://citizen.org/article/big-tech-lobbying-update","http://businessalabama.com/women-in-tech-23-for-23","http://itif.org/publications/2019/10/28/policymakers-guide-techlash","http://distributech.com/","http://newyorker.com/magazine/2019/09/30/four-years-in-startups"]}}
```

Streams automatically open when tasks begin and close upon completion, with connections maintained for up to 570 seconds to accommodate extensive research operations.

## **Built for Production Applications**

SSE for Task Runs addresses a critical need in production AI applications: users expect transparency during long-running operations. Rather than displaying static loading states for research tasks, applications can now provide live updates about search progress, source evaluation, and reasoning steps.

The result is user interfaces that feel responsive and trustworthy, even during complex web research operations that require longer processing time.

## **Start Building**

SSE for Task Runs is available now in beta across all Parallel Task API processors. Dive into our documentation[documentation]($https://docs.parallel.ai/task-api/features/task-sse) to integrate real-time streaming into your application.

Parallel avatar

By Parallel

August 7, 2025

## Related Posts13

A new line of advanced processors: Ultra2x, Ultra4x, and Ultra8x
Parallel avatar

- [A new line of advanced processors: Ultra2x, Ultra4x, and Ultra8x ](https://parallel.ai/blog/new-advanced-processors)

Tags:Product Release
Reading time: 2 min
Introducing Auto Mode for the Parallel Task API
Parallel avatar

- [Introducing Auto Mode for the Parallel Task API](https://parallel.ai/blog/task-api-auto-mode)

Tags:Product Release
Reading time: 1 min
A linear dithering of a search interface for agents
Parallel avatar

- [A state-of-the-art search API purpose-built for agents](https://parallel.ai/blog/search-api-benchmark)

Tags:Benchmarks
Reading time: 3 min
Parallel Search MCP Server in Devin
Parallel avatar

- [Parallel Search MCP Server in Devin](https://parallel.ai/blog/parallel-search-mcp-in-devin)

Tags:Product Release
Reading time: 2 min
Introducing Tool Calling via MCP Servers
Parallel avatar

- [Introducing Tool Calling via MCP Servers](https://parallel.ai/blog/mcp-tool-calling)

Tags:Product Release
Reading time: 2 min
Introducing the Parallel Search MCP Server
Parallel avatar

- [Introducing the Parallel Search MCP Server ](https://parallel.ai/blog/search-mcp-server)

Tags:Product Release
Reading time: 2 min
Starting today, Source Policy is available for both the Parallel Task API and Search API - giving you granular control over which sources your AI agents access and how results are prioritized.
Parallel avatar

- [Introducing Source Policy](https://parallel.ai/blog/source-policy)

Tags:Product Release
Reading time: 1 min
The Parallel Task Group API
Parallel avatar

- [The Parallel Task Group API](https://parallel.ai/blog/task-group-api)

Tags:Product Release
Reading time: 1 min
State of the Art Deep Research APIs
Parallel avatar

- [State of the Art Deep Research APIs](https://parallel.ai/blog/deep-research)

Tags:Benchmarks
Reading time: 3 min
Introducing the Parallel Search API
Parallel avatar

- [Introducing the Parallel Search API ](https://parallel.ai/blog/parallel-search-api)

Tags:Product Release
Reading time: 2 min
Introducing the Parallel Chat API - a low latency web research API for web based LLM completions. The Parallel Chat API returns completions in text and structured JSON format, and is OpenAI Chat Completions compatible.
Parallel avatar

- [Introducing the Parallel Chat API ](https://parallel.ai/blog/chat-api)

Tags:Product Release
Reading time: 1 min
Parallel Web Systems introduces Basis with calibrated confidences - a new verification framework for AI web research and search API outputs that sets a new industry standard for transparent and reliable deep research.
Parallel avatar

- [Introducing Basis with Calibrated Confidences ](https://parallel.ai/blog/introducing-basis-with-calibrated-confidences)

Tags:Product Release
Reading time: 4 min
The Parallel Task API is a state-of-the-art system for automated web research that delivers the highest accuracy at every price point.
Parallel avatar

- [Introducing the Parallel Task API](https://parallel.ai/blog/parallel-task-api)

Tags:Product Release,Benchmarks
Reading time: 4 min
![Company Logo](https://parallel.ai/parallel-logo-540.png)

Contact

  • hello@parallel.ai[hello@parallel.ai](mailto:hello@parallel.ai)

Resources

  • About[About](https://parallel.ai/about)
  • Docs[Docs](https://docs.parallel.ai)
  • Blog[Blog](https://parallel.ai/blog)
  • Changelog[Changelog](https://docs.parallel.ai/resources/changelog)
  • Careers[Careers](https://jobs.ashbyhq.com/parallel)

Info

  • Terms[Terms](https://parallel.ai/terms-of-service)
  • Privacy[Privacy](https://parallel.ai/privacy-policy)
  • Trust Center[Trust Center](https://trust.parallel.ai/)
![SOC 2 Compliant](https://parallel.ai/soc2.svg)
LinkedIn[LinkedIn](https://www.linkedin.com/company/parallel-web/about/)Twitter[Twitter](https://x.com/p0)

Parallel Web Systems Inc. 2025