GraphQL Changelog – June 24

Organizations can now export their full audit log activity — not limited to a single pipe — using a dedicated mutation that mirrors the existing pipe-level export experience.

Added:

  • The mutation exportOrgAuditLogsReport creates an asynchronous org-scoped audit log export. Input:
    • orgUuid: ID! — the organization to export logs for.
    • outputFormat: AuditLogOutputFormatCSV (default) or JSONL.
    • deliveryMethod: AuditLogDeliveryMethodEMAIL (default) or WEBHOOK.
    • searchTerm: String — filter logs by user name or email (case-insensitive).
    • filterDateFrom / filterDateTo: DateTime — date range for the export (max 30 days; max 180 days in the past).
    • Returns { success, correlationId, warning }.

Notes:

  • Requires organization admin permission on the target organization.
  • Rate limit: 6 export requests per user per day. Retrieving a request via auditLogExportRequest is separately limited to 1 call per correlation ID per 10 minutes, per user.
  • When deliveryMethod is WEBHOOK and no org-level webhook is configured for audit_log.export_finished, the mutation succeeds but warning is populated with a descriptive message. The warning field is null for EMAIL delivery or when the webhook is properly configured.
  • Use the correlationId with the auditLogExportRequest query to poll for status and retrieve the pre-signed download URL. The pipe field on that query returns null for org-scoped exports.