Sep 20, 2024
Retrieve update status
Retrieves the time when the Analytics data for the specified index was last updated.
If the index has been recently created or no search has been performed yet the updated time is null
.
The Analytics data is updated every 5 minutes.
Usage
Required ACL:
analytics
Copy
1
2
3
4
5
6
7
use Algolia\AlgoliaSearch\Api\AnalyticsClient;
$client = AnalyticsClient::create('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY', 'ALGOLIA_APPLICATION_REGION');
$response = $client->getStatus(
'index',
);
Did you find this page helpful?