What problem does it solve? ISV partners need managed package usage data from subscriber orgs, but the App Analytics API is asynchronous, has a non-obvious request lifecycle, and mixes sObject REST calls with Metadata API configuration, making it easy to misuse. ## Core Features & Use Cases - Usage Data Retrieval: Create and poll AppAnalyticsQueryRequest records for PackageUsageSummary, PackageUsageLog, and SubscriberSnapshot data with time-range and package filters. - Lifecycle Management: Understand and handle request states from New through Pending, Complete, Expired, Failed, and NoData, including download URL expiration. - Simulation & Opt-Out Configuration: Deploy AppAnalyticsSettings via the Metadata API to enable simulation mode for testing or opt subscriber orgs out of data collection. - Use Case: An ISV wants the last 7 days of package usage logs as gzip-compressed CSV. Create an AppAnalyticsQueryRequest with the right DataType, PackageIds, and hour-aligned EndTime, poll until Complete, then download from the presigned URL before it expires. ## Quick Start Ask the assistant to create an AppAnalyticsQueryRequest for PackageUsageSummary covering the last 7 days for your managed package and poll it until the download URL is ready.