Skip to main content
GET
List Variables
Authorization
string
required
The API key for your account. You can find this in your account settings.
Returns the application’s current environment variables as a flat key-value object, read directly from its .env file on the cluster. If no variables have been set yet, the response is a success with an empty object rather than an error. Static applications don’t support environment variables and return an error instead. On workspace-shared applications, the caller needs the Administrator role or ownership. To add or update variables, use Add/Edit Variables; to replace the whole set, see Overwrite Variables.

Parameters

app_id
string
required
The application ID.

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
response
object
The key and value of all environment variables you defined.

Common errors