
Dx App Analytics Query
If you're an ISV partner who needs to pull managed package usage data from Salesforce's Intelligence Data Lake, this is the skill you want. It handles creating AppAnalyticsQueryRequest records via the REST API, polling them through the New-Pending-Complete lifecycle, and grabbing the presigned download URLs before they expire. You can query PackageUsageSummary, PackageUsageLog, or SubscriberSnapshot data, filter by time ranges or specific subscriber orgs, and get results as CSV or Parquet with optional compression. The gotcha worth knowing: these are sObject records you create and poll via REST, not metadata you deploy. Also covers AppAnalyticsSettings for enabling simulation mode when you're testing without real subscriber data.
- skills.sh installs
- 5.2K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill dx-app-analytics-query --agent claude-codeInstalls into .claude/skills of the current project.
Files
App Analytics
When This Skill Owns the Task
Use dx-app-analytics-query when the work involves:
- Creating
AppAnalyticsQueryRequestrecords via the REST/sObject API - Configuring
AppAnalyticsSettingsvia 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)
Sponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Data Science & ML, Marketing & SEO, Sales & Marketing, Cloud & Infrastructure
- First seen
- Jul 14, 2026
More from forcedotcom/sf-skills
All 158- Platform Tracing Agentforce Configure5.2K
- Platform Value Set Generate5.2K
- Integration Eventing Cdc Configure5.2K
- Integration Eventing Subscription Configure5.2K
- Platform Trust Archive Manage5.2K
- Experience Ui Bundle File Upload Generate5.2K
- Experience Ui Bundle Features Generate5.1K
- Dx Devops Test Failures Analyze5.1K
- Data360 Schema Get5.1K
- Dx Devops Test Pipeline Configure5.1K
- Experience Ui Bundle Site Generate5K
- Dx Devops Test Suite Assignments Configure5K
- Dx Devops Test Suite Run5K
- Experience Cms Brand Apply5K
- Experience Ui Bundle Agentforce Client Generate5K
- Data360 Code Extension Generate5K
- Platform Agentexchange Partner Offers Configure5K
- Dx Code Analyzer Custom Rule Create4.9K
- Platform Agentsetup Categories Fetch4.9K
- Omnistudio Datamapper Generate4.9K
- Omnistudio Omniscript Generate4.9K
- Omnistudio Dependencies Analyze4.9K
- Omnistudio Integration Procedure Generate4.8K
- Omnistudio Callable Apex Generate4.8K