partner_metrics_fetch
Fetch partner-metric time series data for your Atlassian Marketplace developer space by specifying metrics, date range, and granularity.
Instructions
Fetch partner-metric time series (POST). The body shape is ReportingMetricTimeSeriesRequestBody: {metrics:{metricSets:[…], metricFields:[…]}, dateRange:{startDate, endDate}, granularity:'YEAR'|'MONTH'|'WEEK'|'DAY', attributes?, sortByList?, attributeFilter?}. IMPORTANT: metrics is an OBJECT (not an array) and metricSets/metricFields are arrays of OBJECTS; dateRange uses startDate/endDate (not start/end). A wrong shape returns HTTP 400 with a JSON-parse error message. limit/offset are query params for paging the result rows.
📖 Spec (POST /rest/3/partner-metrics/developer-space/{developerId}): https://developer.atlassian.com/platform/marketplace/rest/v4/api-group-reporting/#api-rest-3-partner-metrics-developer-space-developerid-post
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ReportingMetricTimeSeriesRequestBody — see the tool description for the required shape. | |
| limit | No | Max result rows to return. | |
| offset | No | Result-row offset for paging. | |
| developerId | No | a1b2c3d4-e5f6-7890-abcd-ef1234567890 |