Currently, exporting or copying events data from one application to another is not natively supported in Algolia.
For the purpose of training Recommend models in your Sandbox environment, you can upload existing events via CSV. There are a few ways to populate your CSV:
Using the Events Debugger
You can use the filtering tool in the debugger to select the relevant columns needed to format the CSV correctly.
- This will provide you with
userToken
,timestamp
,eventType
, andeventName
- The debugger does not include
objectIDs
, so you’ll need to manually add these to the CSV, ensuring they match records in your index - The timestamps should cover a period of at least 30 days. For example, if you have events starting on 19.01.25, the should extend to at least 18.02.25. Therefore you may need to modify the timestamps accordingly
Please note, the CSV that is exported from the Event debugger tool is only intended for for debugging purposes, as opposed to providing a full record of event data.
Google Analytics/BigQuery
If you track user events with Google Analytics, you can export these events with BigQuery. You can then save these events in a CSV file
An alternative to consider for future model training would be to send events to both your Production and Sandbox applications simultaneously when they're triggered. This requires the indices sharing the same objectIDs and sending duplicate events to our Insights API - one to each application.