GraphQL Changelog – June 16
by ReadMe APIA new mutation lets users export multi-organization usage reports. The report is generated asynchronously and delivered by email, mirroring the single-organization Usage Stats export.
Added:
- The mutation
createMultiOrgUsageReportExporttriggers an asynchronous usage report export aggregated across multiple organizations. Input:organizationUuids: [ID!]!— the organizations to include (1..25); only those the caller may see usage stats for are included.period: PeriodFilter!—current_month,last_month, orlast_3_months.resourceType: MultiOrgUsageResourceType!—api(AI credits and automations follow).- Returns
{ status }(createdon a successful trigger).
Notes:
- The mutation is gated by the
multi_org_usage_statsfeature flag; it is hidden from introspection and rejected unless the flag is enabled for the caller's organization. - The report is emailed to the requesting user when ready — there is no polling query in this release.
resourceTypeacceptsai_creditandautomationas values, but onlyapiproduces a report at this time; the others are rejected until their exporters ship.
