Asynchronous reindexing

Queue Full, Partial and Price Reindex jobs instead of waiting for them to complete.

Last updated

On this page

Overview

Reindex operations in Athena XAI (Full Reindex, Partial Reindex and Price Reindex) can be asynchronous, so you don’t have to wait for external processes to complete.

When you call an asynchronous indexing endpoint, a new job is added to the queue. The job, not the API method, executes the action. Jobs typically finish within seconds, depending on the queue’s workload.

Requests and methods are the same as for synchronous reindex operations. Only the API endpoint and the response differ.

Endpoints

To run a job asynchronously, add /async at the end of the Reindexing API URL.

NameMethodPath
Full Reindexing APIPOST/api/v1/open-api/reindex/async
Full Reindexing APIPOST/api/v2/open-api/reindex/async
Partial Reindexing APIPOST/api/v1/open-api/reindex/partial/async
Partial Reindexing APIPOST/api/v2/open-api/reindex/partial/async
Price Reindexing APIPOST/api/v1/open-api/reindex/price/async
Price Reindexing APIPOST/api/v2/open-api/reindex/price/async

Successful response

JSON
{
    "message": “Success”
}