CX as Code CLI: Exporting all Architect flows as JSON

How do you dump every Architect flow as JSON using the CX as Code CLI? We’re trying to get a full snapshot of our org’s routing logic for a backup script. I’ve got the CLI installed and authenticated via genesys cloud cxascode auth login. The docs mention genesys cloud cxascode export, but running it with just --org or --environment feels like it only grabs the high-level config, not the actual flow definitions.

I tried piping the output to a directory:

genesys cloud cxascode export --org my-org --environment prod --format json

It finishes instantly and creates a genesyscloud-resources.json file. The file is huge, but when I search for architect_flow, I only see references to IDs and names in a flat list, not the actual flow JSON structure with the nodes, conditions, and transitions. I expected something like the /api/v2/architect/flows/{id} response payload for each flow.

Is there a specific flag to include the flow definitions? Or do I need to loop through the IDs and hit the API individually? The CLI seems to skip the heavy lifting for Architect. Maybe I’m missing a --include-definitions flag or something similar. The current output is useless for my use case since I need the actual flow logic, not just the metadata.

I’ve checked the --help output and searched the docs, but nothing jumps out. Anyone else run into this? It’s supposed to be a one-click export tool, but it feels half-baked for Architect. Maybe I need to use the API directly instead of fighting the CLI. The goal is just to get the JSON blobs for all flows in one go.