Hi!
When you use an S3 bucket as a data destination with Terra, the structure is as follows:
- Data is organized by event type (for example, activity, sleep, authentication) as the parent folder.
- For versioned data events, the objects will be placed under a folder named for the API version (such as 2022-03-16).
- Each event will be saved with a unique name:
For data events: the file name is a combination of the user ID and the start time of the period the event refers to.
For other event types: the file name is a combination of the user ID and the timestamp when the event was generated.
This means your S3 bucket will have folders for each event type, with files named according to these conventions. The files themselves contain the payloads (such as health, activity, or authentication data) in standard formats.
You do not need to subscribe just to see the structure! :) This information is available in the documentation and you can design your POC folder structure accordingly.
See here for the S3 Cloud storage data structure: https://docs.tryterra.co/health-and-fitness-api/integration-setup/setting-up-data-destinations/cloud-storage-s3-gcp
Hope this helps!