projects

Get Environment Variable

Retrieves a specific environment variable for a given project by its ID, including its value.

get/projects/{projectId}/env-vars/{environmentVariableId}

Path parameters

projectIdstring required

The unique identifier of the project that owns the environment variable.

environmentVariableIdstring required

The unique identifier of the environment variable to retrieve.

Query parameters

decrypted'true' | 'false'

Whether to return decrypted values. Defaults to false (encrypted).

Whether to return decrypted values. Defaults to false (encrypted).

Response

Success

object'environment_variable' required

Changes