licenses_export_sync
Export marketplace license data synchronously in CSV or JSON format with extensive filtering options for reporting.
Instructions
Synchronous export of licenses. accept=csv (default) returns a CSV string; accept=json returns a JSON array. May 5xx on large ranges — prefer the async variant. Request timeout is bumped to 10 min (overridable via EXPORT_TIMEOUT_MS env).
📖 Spec (GET /rest/3/reporting/developer-space/{developerId}/licenses/export): https://developer.atlassian.com/platform/marketplace/rest/v4/api-group-reporting/#api-rest-3-reporting-developer-space-developerid-licenses-export-get
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Free-text search across identifiers: SEN, appEntitlementNumber (Cloud), appEntitlementId (UUID), cloudId, cloudSiteHostname, email, organization name. | |
| tier | No | ||
| limit | No | ||
| order | No | ||
| accept | No | Output format: `csv` (default for these exports — header-rowed CSV string) or `json` (array of records). Invalid → HTTP 400. | |
| offset | No | ||
| sortBy | No | ||
| status | No | ||
| endDate | No | ISO date YYYY-MM-DD | |
| hosting | No | Note: 'datacenter' is one word, not 'data_center'. Response objects use capitalized 'Cloud'/'Server'/'Data Center' but the filter param is lowercase one-word. | |
| dateType | No | ||
| productId | No | Product UUID (or comma-separated list). Use apps_list / apps_known to discover. | |
| startDate | No | ISO date YYYY-MM-DD | |
| appEdition | No | Filter by app edition (case-insensitive in practice but lowercase per Atlassian's error spec). | |
| lastUpdated | No | ISO datetime — licenses updated on/after this instant. | |
| licenseType | No | ||
| partnerType | No | ||
| licenseLevel | No | ||
| withAttribution | No | DEPRECATED by Atlassian; use withDataInsights instead. Both add evaluation/attribution fields when true. | |
| withDataInsights | No | Adds 10 extra fields to each license: evaluationOpportunitySize, evaluationLicense, daysToConvertEval, evaluationStartDate, evaluationEndDate, evaluationSaleDate, parentProductBillingCycle, parentProductName, installedOnSandbox, parentProductEdition. | |
| showLicensesHistory | No | If true, returns the full history of license events for matched SENs (multiple rows per license). Not formally in the swagger but the runtime API accepts it. | |
| includeAtlassianLicenses | No | If true, include internal Atlassian licenses in the result. | |
| showLifeTimeFreeLicenses | No | If true, scope the response to lifetime-free-tier licenses. If false (default), excludes them. | |
| cloudComplianceBoundaries | No | Cloud compliance boundary. Valid values: 'commercial' (default), 'fedramp_moderate', 'isolated_cloud'. **Cloud-hosted apps only — silently ignored for server/datacenter apps.** Defaults to 'commercial' when omitted on cloud apps. NOTE: This MCP currently accepts a single value; to query multiple boundaries make separate calls (probed 2026-06-01: comma-separated lists are silently mis-parsed by the API — only repeated-param form works server-side). |