# Sonar-deep-research⁠ requests randomly stopping mid-run

**URL:** <https://community.perplexity.ai/t/sonar-deep-research-requests-randomly-stopping-mid-run/4266>\
**Category:** Bug Reports\
**Created:** [March 21, 2026, 7:07pm UTC](https://community.perplexity.ai/t/sonar-deep-research-requests-randomly-stopping-mid-run/4266 "2026-03-21T19:07:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric-Geek](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/eric-geek/32/2764_2.png) [@Eric-Geek](https://community.perplexity.ai/u/Eric-Geek)\
**Post date:** [March 21, 2026, 7:07pm UTC](https://community.perplexity.ai/t/sonar-deep-research-requests-randomly-stopping-mid-run/4266/1 "2026-03-21T19:07:51Z")

</div>

Has anyone seen ‎⁠sonar-deep-research⁠ requests randomly stopping mid-run? For example, incomplete responses, early termination, or errors during long deep-research calls. I’m trying to understand if this is an issue with my integration or a recent change on the API side.

---

<div class="post-metadata">

**Author:** ![Kesku](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/kesku/32/898_2.png) [@Kesku](https://community.perplexity.ai/u/Kesku)\
**Post date:** [April 7, 2026, 2:40pm UTC](https://community.perplexity.ai/t/sonar-deep-research-requests-randomly-stopping-mid-run/4266/2 "2026-04-07T14:40:32Z")

</div>

Hey @Eric-Geek — this is a known pattern with `sonar-deep-research`. Because deep research queries can run for several minutes, synchronous requests are prone to timeouts and early termination.

The recommended approach is to use **async mode** via the `/v1/async/sonar` endpoint:

```bash
# 1. Submit the deep research request
curl -X POST https://api.perplexity.ai/v1/async/sonar \
  -H "Authorization: Bearer $PERPLEXITY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "sonar-deep-research", "messages": [{"role": "user", "content": "Your research query here"}]}'

# 2. Poll for results using the returned request_id
curl https://api.perplexity.ai/v1/async/sonar/$REQUEST_ID \
  -H "Authorization: Bearer $PERPLEXITY_API_KEY"

```

Async mode decouples the request from the HTTP connection, so there is no risk of connection timeouts killing the research mid-run. You submit the request, get back a `request_id`, and poll for the result when it is ready.

See the [async deep research docs](https://docs.perplexity.ai/api-reference/async-sonar-post) for the full reference.

Alternatively, if you are using the Agent API, the `deep-research` preset also handles this — and you can use streaming (`stream: true`) to keep the connection alive while the research runs.

---

<div class="post-metadata">

**Author:** ![Abu\_Talha](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/abu_talha/32/3138_2.png) [@Abu\_Talha](https://community.perplexity.ai/u/Abu_Talha)\
**Post date:** [May 18, 2026, 10:21am UTC](https://community.perplexity.ai/t/sonar-deep-research-requests-randomly-stopping-mid-run/4266/3 "2026-05-18T10:21:36Z")

</div>

how to do this in the perplexity mcp ?

I’ve lost shit ton of credits as my agent does a sonar request and it times out and I can’t even see the results in usage.

is there a way i can disable specific apis / tool calls ?
