Skip to content
forcedotcom avatar

Dx App Analytics Query

Query ISV App Analytics request and settings metadata, with its New-to-Expired lifecycle and simulation mode.

CCM score
71 of 100
skills.sh installs
5.3K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers retrieving managed package usage data through AppAnalyticsQueryRequest records and configuring AppAnalyticsSettings via the Metadata API
  • Includes 3 data types (PackageUsageSummary, PackageUsageLog, SubscriberSnapshot) with csv or parquet output and none, gzip, or snappy compression
  • Explains the request lifecycle from New through Pending and Complete to Expired, Failed, NoData, and Delivered, with downloads expiring on a timer
  • Designed for ISV partners troubleshooting analytics queries or enabling simulation mode for integration testing without standard reporting or Data Cloud work

Install

$ npx -y skills add forcedotcom/sf-skills --skill dx-app-analytics-query -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

App Analytics

When This Skill Owns the Task

Use dx-app-analytics-query when the work involves:

  • Creating AppAnalyticsQueryRequest records via the REST/sObject API
  • Configuring AppAnalyticsSettings via the Metadata API (simulation mode, opt-out)
  • Understanding the query lifecycle: New → Pending → Complete → Expired → Failed
  • Choosing between dataType values: PackageUsageSummary, PackageUsageLog, SubscriberSnapshot
  • File format and compression options for analytics downloads
  • Time-range filtering with startTime, endTime, availableSince
  • Troubleshooting failed or expired analytics queries

Delegate elsewhere when the user is:

  • Running standard CRM SOQL queries → platform-soql-query
  • Working with Data Cloud SQL or DMOs → retrieving-datacloud
  • Building reports/dashboards on standard objects → reporting skills
  • Deploying or retrieving generic metadata XML → deploying-metadata / retrieving-metadata

Available Types

AppAnalyticsQueryRequest (REST/sObject API)

Details

Repository
github.com/forcedotcom/sf-skills
Category
Backend & APIs
First seen
Jul 14, 2026

Questions

What does the dx-app-analytics-query skill do?

It helps with ISV App Analytics metadata types, AppAnalyticsQueryRequest and AppAnalyticsSettings, for retrieving managed package usage data and subscriber snapshots. It also covers configuring simulation mode and understanding the request lifecycle from New to Complete or Expired.

How do I install the dx-app-analytics-query skill?

Run npx -y skills add forcedotcom/sf-skills --skill dx-app-analytics-query -y in a project. Once installed, the agent can create and poll AppAnalyticsQueryRequest records and configure AppAnalyticsSettings for you.

Where does dx-app-analytics-query stand in the Backend & APIs category?

It sits in the Backend & APIs category alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. It is narrower than those, focused on Salesforce ISV usage analytics rather than general backend services.

Should I use dx-app-analytics-query for standard Salesforce reports or SOQL?

No, the skill is for App Analytics data on managed packages. Standard reports and dashboards are better served by reporting skills, custom SOQL on Account or Contact by platform-soql-query, and Data Cloud queries by data360-query.

More from forcedotcom/sf-skills

All 78

Similar to Dx App Analytics Query

More Backend & APIs