Skip to main content

Injected Variables

Every deployment in our platform comes with some built-in environment variables. In addition, some options add environment variables to your deployment.

Here's a list of all injected variables

Built-in variables#

NameDescriptionexample value
ARBITRIUM_REQUEST_IDYour deployment request IDf68e011bfb01
ARBITRIUM_DELETE_URLURL to call to delete your deployment from within itself. Go see our API for more details about this routehttps://api.edgegap.com/v1/self/stop/9f511e17/660
ARBITRIUM_DELETE_TOKENAuthorization token to call ARBITRIUM_DELETE_URL7df4cd933df87084b34ae80d8abde293
ARBITRIUM_DEPLOYMENT_LOCATIONJSON encoded string that contains data about the location of your deployment{ "city": "Montreal", "country": "Canada", "continent": "North America", "administrative_division": "Quebec", "timezone": "Eastern Time", "latitude": 45.513707, "longitude": -73.619073 }

Inject context variables#

NameDescriptionexample value
ARBITRIUM_CONTEXT_URLURL to get the context of your deployment. Go see our API for more details about this routehttps://api.edgegap.com/v1/context/9170f5211e17/17
ARBITRIUM_CONTEXT_TOKENAuthorization token to call ARBITRIUM_CONTEXT_URLdfaf50b9333b9ee07b22ed247e4a17e6

*You need to activate Inject Context in your app version to access those variables

App version variables#

NameDescriptionexample value
MY_CUSTOM_VALUEAdded from your app version envvalue

*You need to add env variables in your app version to access those variables

API call variables#

NameDescriptionexample value
ARBITRIUM_DEPLOYMENT_TAGSAdded from your API call tagstag1,tag2,tag3
MY_CUSTOM_VALUEAdded from your API call envvalue

*You need to add env variables in your deploy API call to access those variables