Codex Cloud versions and how to differentiate between them programmatically?

When generating multiple versions in Codex Cloud, is there an environmental variable or something that could be used to identify the version?

For context, I would like to be able to automatically feed code generated by Codex Cloud’s version #1 into my external dev sandbox #1, Codex Cloud’s version #2 into my external dev sandbox #2, etc … I was able to figure out how to get Codex Cloud to send code to my sandbox using PHP/curl, but I don’t know how to get it to differentiate between the versions.

The reason I want to use Codex Cloud in this manner, is that for frontend work, I need to be able to visualize the end results in a sandbox, rather than just looking at the code changes, in order to tell which version is better.