Recent searches


No recent searches

Search API Not Fetching Real-Time Data



Posted Jan 17, 2025

Hello Zendesk Community,

I’ve encountered an issue with the Zendesk Search API that I’d like to discuss and get advice on.

Issue description

The Search API (/api/v2/search.json) does not seem to fetch real-time data. For example:

  • After creating a new ticket, searching with the query type:ticket does not return the newly created ticket.
  • This happens even after waiting a short time post-creation.

Expected behavior

The API should return all tickets matching the search query, including newly created ones.

Observed behavior

New tickets are not included in the search results immediately, even though they are visible in the Zendesk interface.

Steps to reproduce

  1. Create a new ticket in Zendesk.
  2. Use the Search API to query tickets (type:ticket).
  3. Observe that the new ticket is missing from the search results.

I’d appreciate any insights or advice:

  • Has anyone experienced this issue?
  • Is there a known workaround to ensure real-time data retrieval through the API?
  • Could this be due to an indexing delay or a potential bug?

Thank you for your help!


0

1

1 comment

It can take a few minutes for content to be indexed in search.  We're always able to find it within a few minutes.  From the Zendesk Search docs:

 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post