Skip to main content

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.
WarningDeleting a model can cause historical transfer records to lose their associated model and source details.This issue is fixed for future transfers, but the time period of affected historical data varies by Prequel instance. Please contact support for more information.Transfers for deleted destinations may not be available in model_transfers_log prior to a certain date, depending on your deployment. For more details about transfers for deleted destinations, please contact support.

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_staging
  • destinations_snapshot_staging
  • model_transfers_log_staging

Example queries

Rows transferred per day
Latest transfer status
Transfer metrics by billing date
Destination update history