Overview
You can receive your Prequel usage data in your own data warehouse, using any of our supported destination vendors. Contact Prequel support to enable and configure this feature. Once you configure your usage data destination, Prequel syncs three tables to your destination:audit_log, destinations_snapshot, and model_transfers_log. By default, this data is refreshed hourly.
Data format
Prequel syncs three tables to your destination:audit_log, destinations_snapshot, and model_transfers_log.
audit_log
Each row in this table corresponds to one event in the audit log, and is the same data available via the /logs endpoint. These logs are intended to be a comprehensive record of all write actions taken on your Prequel account. For more information, including the events included in this table, see the audit log documentation.
destinations_snapshot
Each entry in this table corresponds to one destination in your Prequel account. Note that this table represents the current state of destinations configured in Prequel. To get a historical record of actions taken on destinations, you can use the audit log data.
model_transfers_log
Each entry in this table corresponds to one completed model transfer within a transfer job. Model transfers that are pending or in progress are not currently included in this table.
Staging usage data
Both production and staging environment data from Prequel is synced. Staging environment data is synced as separate tables to the same destination with a_staging suffix:
audit_log_stagingdestinations_snapshot_stagingmodel_transfers_log_staging
Example queries
How many rows have we transferred over the past month for this destination, grouped by day?
How many rows have we transferred over the past month for this destination, grouped by day?
Rows transferred per day
For a given destination and model, what is the latest transfer status?
For a given destination and model, what is the latest transfer status?
Latest transfer status
For a given billing date and destination, what are the transfer metrics?
For a given billing date and destination, what are the transfer metrics?
Transfer metrics by billing date
What is the update history for a given destination?
What is the update history for a given destination?
Destination update history