listEnvironmentVariables()
List all organization environment variables. Values are decrypted server-side.
Return type: EnvironmentVariable[]
| Field | Type | Description |
|---|---|---|
id | string | Variable ID |
name | string | Variable name (stored uppercase) |
value | string | Decrypted value |
organization_id | string | Owning organization |
created_by_user_id | nullable string | User who created the variable |
created_at | string | ISO timestamp when created |
updated_at | string | ISO timestamp when last updated |
getEnvironmentVariable(name)
Get a single environment variable by name. Lookup is case-insensitive since names are stored uppercase. Returns undefined when not set.
setEnvironmentVariable(name, value)
Create or update an environment variable. Setting an existing name overwrites its value.
deleteEnvironmentVariable(options)
Delete an environment variable by id or name. Provide exactly one.