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.
| Name | Method | Path |
|---|---|---|
| Full Reindexing API | POST | /api/v1/open-api/reindex/async |
| Full Reindexing API | POST | /api/v2/open-api/reindex/async |
| Partial Reindexing API | POST | /api/v1/open-api/reindex/partial/async |
| Partial Reindexing API | POST | /api/v2/open-api/reindex/partial/async |
| Price Reindexing API | POST | /api/v1/open-api/reindex/price/async |
| Price Reindexing API | POST | /api/v2/open-api/reindex/price/async |
Successful response
{
"message": “Success”
}