post https://{host}/api_gateway/cortex/v1/bulk/trigger/
This allows you to enable the data retention policy.
By default, the search data is indexed starting from the time of creating the search criteria. If you need to index older data, you can utilize this API and enable the indexing of historical data.
NoteMake sure that you have appropriate access control configured. For more information, see access group documentation.
Example request
curl --location --request POST 'https://{Host}/api_gateway/cortex/v1/bulk/trigger/{id}\
--header 'Authorization: Basic bmFtYW5fZG9jOmEzYjZlY2I2MmEy' \
--header 'Cookie: _cfuvid=Wdgq1ujivvS6IjuUIiHHRfmrcDwsEdosv2fbZbj1_wk-1758197322967-0.0.1.1-604800000'
Response parameters
Parameter | Description |
---|---|
data | Indicates the status of the operation (true/false). |
errors | An array containing any error messages. |