New Jobs Search API Endpoint
We've introduced a new API endpoint for queue jobs search. It replaces the current jobs listing endpoint.
The new endpoint for queue jobs search /search/jobs
(see documentation) replaces the existing jobs listing endpoint /jobs
. This should be a near drop-in replacement, supporting the same parameters and returning the same results, but with improved performance, especially for larger projects and complex filters.
The old endpoint is now considered deprecated and will be removed after November 1, 2024.
One major difference is that the new endpoint is eventually consistent because it returns results from a secondary database, which is synchronized with a slight delay. This means that a new job may not appear immediately after it is created, and the job detail may contain slightly outdated data if it was updated recently. The delay should be only a few seconds at most during normal operation.
Another difference is that the new endpoint will return a maximum of 500 items per page.
If you have any questions, please contact our support team.