Describe the Bug
When asking for a sonar-deep-research using the async API, I poll to check for the status of the deep research for about 30-40 minutes I get a status of IN_PROGRESS. When it eventually completes the payload returns to me as only took about 2 minutes.
"created_at": 1768872046,
"started_at": 1768872046,
"completed_at": 1768872180,
Expected Behavior
After 2 minutes or the completed_at time the poll endpoint should return the research as completed.
Actual Behavior
Takes 40+ minutes for the retrieve result api to send back as completed, and the completed time says it only took 2 minutes
Steps to Reproduce
- Call the API with the following request:
curl --location ‘https://api.perplexity.ai/async/chat/completions’
–header ‘Authorization: Bearer ’
–header ‘Content-Type: application/json’
–data ‘{
“request”: {
“model”: “sonar-deep-research”,
“messages”: [
{
“role”: “user”,
“content”: “Provide an in-depth analysis of the impact of AI on global job markets over the next decade.”
}
]
}
}’ | jq - Take the id and call the polling endpoint
curl --location ‘https://api.perplexity.ai/async/chat/completions/{REPLACE_WITH_REQUEST_ID}’
–header “Authorization: Bearer ”
API Request & Response (if applicable)
Environment
- API Version: sonar-deep-research
- SDK (if applicable): ai-sdk v6
- Operating System: macos
Logs or Screenshots (if applicable)
Add any logs or screenshots that can help debug the issue.
Additional Context
Add any other context about the problem here.