Exporting Architect Flows via CX as Code CLI

Does anyone know the correct syntax to export all Architect flows as JSON using the CX as Code CLI?

  • I am running genesyscloud arch flow export-all but it fails with a 403 Forbidden.
  • My service account has the architect:flow:view permission.
  • The error payload shows {"errors":[{"code":"forbidden","message":"Insufficient permissions"}]}.
  • I need to ingest these into my gRPC event processor for validation.
  • Should I use a specific export format flag?