Skip to content

Using variables

We have some built-in environment variables that you can use.

NameDescriptionExample value
GAMEYE_SESSION_IDReturns the UUID we used to start the session on Gameye.MatchServerijsrr1fklsc5alpa3nvr20
GAMEYE_HOSTReturns the session host IP.196.235.141.34
GAMEYE_PORT{PROTOCOL}_{NUMBER}The port number(s) used to start the container.GAMEYE_PORT_UDP_7777”:“39345
GAMEYE_PORT_TCP_8080”:“36913

You can also create your own tags, which you can add to the sessions you create. This is included in the labels property of the APIs.

NameDescriptionExample Value
MY_CUSTOM_VARYour own custom variable.value
LabelsAdded through the API call.tag 1, tag 2, tag 3