You can query activities data from your data warehouse’s query editor, a
Cargo data model, or the Sandbox query editor in the System of Record
section of your workspace settings.
Adapt query syntax for your database (BigQuery or Snowflake). If using your
own data warehouse, the dataset name matches the Dataset name from your
System of Record configuration. If using Cargo’s managed BigQuery, contact
the Cargo team for connection details.
Query from the CLI
Run these queries directly against your system of record with the CLI:storage query, reference the activities table simply as activities — Cargo rewrites it to the correct physical table for your warehouse. The physical compute__activities / _compute.activities names in the Table naming conventions section below are only needed when querying your warehouse directly.
Understanding the activities table
The activities data is stored in thecompute__activities table with the following structure:
Activity types
Example: Track workflow node executions
Query all node executions for a specific workflow, including their status and any error messages:- BigQuery
- Snowflake
Example: Track workflow throughput
Monitor how many records enter and exit your workflows over time:- BigQuery
- Snowflake
Example: Identify failing nodes
Find nodes with the highest error rates:- BigQuery
- Snowflake

